ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.6ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.5ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.4ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.4ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.3ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.4ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.4ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:23:27.996102"], ["updated_at", "2015-11-07 21:23:27.996102"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:28.009469"], ["updated_at", "2015-11-07 21:23:28.009469"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:23:28.038472"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:23:28.045901"], ["updated_at", "2015-11-07 21:23:28.045901"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:28.038472"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:23:28.056545"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:23:28.058412"], ["updated_at", "2015-11-07 21:23:28.058412"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:28.056545"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:28.065043"], ["updated_at", "2015-11-07 21:23:28.065043"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:28.067456"], ["updated_at", "2015-11-07 21:23:28.067456"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:28.072565"], ["updated_at", "2015-11-07 21:23:28.072565"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:28.075299"], ["updated_at", "2015-11-07 21:23:28.075299"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:28.080777"], ["updated_at", "2015-11-07 21:23:28.080777"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:28.083099"], ["updated_at", "2015-11-07 21:23:28.083099"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:23:28.098570"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:23:28.102015"], ["updated_at", "2015-11-07 21:23:28.102015"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.2ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:23:29.143906"], ["updated_at", "2015-11-07 21:23:29.143906"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.145457"], ["updated_at", "2015-11-07 21:23:29.145457"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.149862"], ["updated_at", "2015-11-07 21:23:29.149862"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.150796"], ["updated_at", "2015-11-07 21:23:29.150796"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:23:29.159371"], ["updated_at", "2015-11-07 21:23:29.159371"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.160348"], ["updated_at", "2015-11-07 21:23:29.160348"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.163640"], ["updated_at", "2015-11-07 21:23:29.163640"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.164387"], ["updated_at", "2015-11-07 21:23:29.164387"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:23:29.172663"], ["updated_at", "2015-11-07 21:23:29.172663"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.173687"], ["updated_at", "2015-11-07 21:23:29.173687"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.177341"], ["updated_at", "2015-11-07 21:23:29.177341"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.178176"], ["updated_at", "2015-11-07 21:23:29.178176"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:23:29.186078"], ["updated_at", "2015-11-07 21:23:29.186078"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.187049"], ["updated_at", "2015-11-07 21:23:29.187049"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.190348"], ["updated_at", "2015-11-07 21:23:29.190348"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.191116"], ["updated_at", "2015-11-07 21:23:29.191116"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:23:29.199623"], ["updated_at", "2015-11-07 21:23:29.199623"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.200609"], ["updated_at", "2015-11-07 21:23:29.200609"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.204941"], ["updated_at", "2015-11-07 21:23:29.204941"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.205813"], ["updated_at", "2015-11-07 21:23:29.205813"]] SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:28.098570"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:23:29.212717"], ["updated_at", "2015-11-07 21:23:29.212717"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:23:29.213965"], ["updated_at", "2015-11-07 21:23:29.213965"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:23:29.230441"], ["updated_at", "2015-11-07 21:23:29.230441"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:23:29.236164"], ["updated_at", "2015-11-07 21:23:29.236164"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:23:29.240197"], ["updated_at", "2015-11-07 21:23:29.240197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:23:29.243418"], ["updated_at", "2015-11-07 21:23:29.243418"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:23:29.246902"], ["updated_at", "2015-11-07 21:23:29.246902"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:23:29.248387"], ["updated_at", "2015-11-07 21:23:29.248387"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:23:29.337232"], ["updated_at", "2015-11-07 21:23:29.337232"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:23:29.344078"], ["updated_at", "2015-11-07 21:23:29.344078"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:23:29.347452"], ["updated_at", "2015-11-07 21:23:29.347452"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:23:29.348986"], ["updated_at", "2015-11-07 21:23:29.348986"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:23:29.376760"], ["updated_at", "2015-11-07 21:23:29.376760"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:29.379210"], ["updated_at", "2015-11-07 21:23:29.379210"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:23:29.383832"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:23:29.385451"], ["updated_at", "2015-11-07 21:23:29.385451"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:29.383832"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:23:29.391556"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:23:29.393440"], ["updated_at", "2015-11-07 21:23:29.393440"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:29.391556"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:29.400856"], ["updated_at", "2015-11-07 21:23:29.400856"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:29.404428"], ["updated_at", "2015-11-07 21:23:29.404428"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:29.410360"], ["updated_at", "2015-11-07 21:23:29.410360"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:29.413157"], ["updated_at", "2015-11-07 21:23:29.413157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:23:29.418749"], ["updated_at", "2015-11-07 21:23:29.418749"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:23:29.422080"], ["updated_at", "2015-11-07 21:23:29.422080"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:23:29.433827"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:23:29.436134"], ["updated_at", "2015-11-07 21:23:29.436134"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:23:29.892925"], ["updated_at", "2015-11-07 21:23:29.892925"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.894018"], ["updated_at", "2015-11-07 21:23:29.894018"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.897580"], ["updated_at", "2015-11-07 21:23:29.897580"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:23:29.898344"], ["updated_at", "2015-11-07 21:23:29.898344"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:23:29.901844"], ["updated_at", "2015-11-07 21:23:29.901844"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.903046"], ["updated_at", "2015-11-07 21:23:29.903046"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.907300"], ["updated_at", "2015-11-07 21:23:29.907300"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:23:29.908370"], ["updated_at", "2015-11-07 21:23:29.908370"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:23:29.912195"], ["updated_at", "2015-11-07 21:23:29.912195"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.913265"], ["updated_at", "2015-11-07 21:23:29.913265"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.916540"], ["updated_at", "2015-11-07 21:23:29.916540"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:23:29.917386"], ["updated_at", "2015-11-07 21:23:29.917386"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:23:29.920217"], ["updated_at", "2015-11-07 21:23:29.920217"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.921037"], ["updated_at", "2015-11-07 21:23:29.921037"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.924103"], ["updated_at", "2015-11-07 21:23:29.924103"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:23:29.924836"], ["updated_at", "2015-11-07 21:23:29.924836"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:23:29.927775"], ["updated_at", "2015-11-07 21:23:29.927775"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.928639"], ["updated_at", "2015-11-07 21:23:29.928639"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.931830"], ["updated_at", "2015-11-07 21:23:29.931830"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:23:29.932564"], ["updated_at", "2015-11-07 21:23:29.932564"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:23:29.433827"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:23:29.937386"], ["updated_at", "2015-11-07 21:23:29.937386"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:23:29.938220"], ["updated_at", "2015-11-07 21:23:29.938220"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:23:29.950769"], ["updated_at", "2015-11-07 21:23:29.950769"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:23:29.952238"], ["updated_at", "2015-11-07 21:23:29.952238"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:23:29.953379"], ["updated_at", "2015-11-07 21:23:29.953379"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:23:29.954438"], ["updated_at", "2015-11-07 21:23:29.954438"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:23:29.957469"], ["updated_at", "2015-11-07 21:23:29.957469"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:23:29.958880"], ["updated_at", "2015-11-07 21:23:29.958880"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:23:30.004748"], ["updated_at", "2015-11-07 21:23:30.004748"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:23:30.006427"], ["updated_at", "2015-11-07 21:23:30.006427"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:23:30.009512"], ["updated_at", "2015-11-07 21:23:30.009512"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:23:30.011045"], ["updated_at", "2015-11-07 21:23:30.011045"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "mgca_address_translations";  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:24:14.841405"], ["updated_at", "2015-11-07 21:24:14.841405"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:14.848905"], ["updated_at", "2015-11-07 21:24:14.848905"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:24:14.867041"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:24:14.871123"], ["updated_at", "2015-11-07 21:24:14.871123"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:14.867041"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:24:14.877586"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:24:14.879053"], ["updated_at", "2015-11-07 21:24:14.879053"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:14.877586"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:14.885239"], ["updated_at", "2015-11-07 21:24:14.885239"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:14.887489"], ["updated_at", "2015-11-07 21:24:14.887489"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:14.893044"], ["updated_at", "2015-11-07 21:24:14.893044"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:14.896538"], ["updated_at", "2015-11-07 21:24:14.896538"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:14.902300"], ["updated_at", "2015-11-07 21:24:14.902300"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:14.904636"], ["updated_at", "2015-11-07 21:24:14.904636"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:24:14.916095"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:24:14.918309"], ["updated_at", "2015-11-07 21:24:14.918309"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:24:15.375553"], ["updated_at", "2015-11-07 21:24:15.375553"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:15.376479"], ["updated_at", "2015-11-07 21:24:15.376479"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:15.379741"], ["updated_at", "2015-11-07 21:24:15.379741"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:15.380476"], ["updated_at", "2015-11-07 21:24:15.380476"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:24:15.388489"], ["updated_at", "2015-11-07 21:24:15.388489"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:15.389504"], ["updated_at", "2015-11-07 21:24:15.389504"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:15.392956"], ["updated_at", "2015-11-07 21:24:15.392956"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:15.393700"], ["updated_at", "2015-11-07 21:24:15.393700"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:24:15.402018"], ["updated_at", "2015-11-07 21:24:15.402018"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:15.403121"], ["updated_at", "2015-11-07 21:24:15.403121"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:15.406769"], ["updated_at", "2015-11-07 21:24:15.406769"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:15.407689"], ["updated_at", "2015-11-07 21:24:15.407689"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:24:15.415775"], ["updated_at", "2015-11-07 21:24:15.415775"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:15.416721"], ["updated_at", "2015-11-07 21:24:15.416721"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:15.420199"], ["updated_at", "2015-11-07 21:24:15.420199"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:15.420978"], ["updated_at", "2015-11-07 21:24:15.420978"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:24:15.429519"], ["updated_at", "2015-11-07 21:24:15.429519"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:15.430525"], ["updated_at", "2015-11-07 21:24:15.430525"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:15.434506"], ["updated_at", "2015-11-07 21:24:15.434506"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:15.435266"], ["updated_at", "2015-11-07 21:24:15.435266"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:14.916095"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:24:15.439604"], ["updated_at", "2015-11-07 21:24:15.439604"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:24:15.440397"], ["updated_at", "2015-11-07 21:24:15.440397"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:24:15.456195"], ["updated_at", "2015-11-07 21:24:15.456195"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:24:15.460564"], ["updated_at", "2015-11-07 21:24:15.460564"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:24:15.464658"], ["updated_at", "2015-11-07 21:24:15.464658"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:24:15.468037"], ["updated_at", "2015-11-07 21:24:15.468037"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:24:15.472222"], ["updated_at", "2015-11-07 21:24:15.472222"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:24:15.473955"], ["updated_at", "2015-11-07 21:24:15.473955"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (32.3ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:24:15.569022"], ["updated_at", "2015-11-07 21:24:15.569022"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:24:15.576101"], ["updated_at", "2015-11-07 21:24:15.576101"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:24:15.582400"], ["updated_at", "2015-11-07 21:24:15.582400"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:24:15.584637"], ["updated_at", "2015-11-07 21:24:15.584637"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:24:15.615897"], ["updated_at", "2015-11-07 21:24:15.615897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:15.618375"], ["updated_at", "2015-11-07 21:24:15.618375"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:24:15.622964"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:24:15.624699"], ["updated_at", "2015-11-07 21:24:15.624699"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:15.622964"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:24:15.631039"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:24:15.632624"], ["updated_at", "2015-11-07 21:24:15.632624"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:15.631039"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:15.638891"], ["updated_at", "2015-11-07 21:24:15.638891"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:15.641262"], ["updated_at", "2015-11-07 21:24:15.641262"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:15.646797"], ["updated_at", "2015-11-07 21:24:15.646797"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:15.650822"], ["updated_at", "2015-11-07 21:24:15.650822"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:24:15.658295"], ["updated_at", "2015-11-07 21:24:15.658295"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:24:15.661746"], ["updated_at", "2015-11-07 21:24:15.661746"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:24:15.676468"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:24:15.678957"], ["updated_at", "2015-11-07 21:24:15.678957"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:24:16.197905"], ["updated_at", "2015-11-07 21:24:16.197905"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:16.198969"], ["updated_at", "2015-11-07 21:24:16.198969"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:16.202654"], ["updated_at", "2015-11-07 21:24:16.202654"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:24:16.203474"], ["updated_at", "2015-11-07 21:24:16.203474"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:24:16.206700"], ["updated_at", "2015-11-07 21:24:16.206700"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:16.207682"], ["updated_at", "2015-11-07 21:24:16.207682"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:16.211197"], ["updated_at", "2015-11-07 21:24:16.211197"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:24:16.211969"], ["updated_at", "2015-11-07 21:24:16.211969"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:24:16.214961"], ["updated_at", "2015-11-07 21:24:16.214961"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:16.215835"], ["updated_at", "2015-11-07 21:24:16.215835"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:16.218871"], ["updated_at", "2015-11-07 21:24:16.218871"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:24:16.219655"], ["updated_at", "2015-11-07 21:24:16.219655"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:24:16.222398"], ["updated_at", "2015-11-07 21:24:16.222398"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:16.223264"], ["updated_at", "2015-11-07 21:24:16.223264"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:16.226399"], ["updated_at", "2015-11-07 21:24:16.226399"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:24:16.227155"], ["updated_at", "2015-11-07 21:24:16.227155"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:24:16.230012"], ["updated_at", "2015-11-07 21:24:16.230012"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:16.230883"], ["updated_at", "2015-11-07 21:24:16.230883"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:16.233922"], ["updated_at", "2015-11-07 21:24:16.233922"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:24:16.234693"], ["updated_at", "2015-11-07 21:24:16.234693"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:24:15.676468"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:24:16.239217"], ["updated_at", "2015-11-07 21:24:16.239217"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:24:16.240069"], ["updated_at", "2015-11-07 21:24:16.240069"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:24:16.252601"], ["updated_at", "2015-11-07 21:24:16.252601"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:24:16.254163"], ["updated_at", "2015-11-07 21:24:16.254163"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:24:16.255370"], ["updated_at", "2015-11-07 21:24:16.255370"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:24:16.256345"], ["updated_at", "2015-11-07 21:24:16.256345"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:24:16.259348"], ["updated_at", "2015-11-07 21:24:16.259348"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:24:16.261305"], ["updated_at", "2015-11-07 21:24:16.261305"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:24:16.307881"], ["updated_at", "2015-11-07 21:24:16.307881"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:24:16.309662"], ["updated_at", "2015-11-07 21:24:16.309662"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:24:16.312808"], ["updated_at", "2015-11-07 21:24:16.312808"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:24:16.314316"], ["updated_at", "2015-11-07 21:24:16.314316"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:26:13.660228"], ["updated_at", "2015-11-07 21:26:13.660228"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:13.667894"], ["updated_at", "2015-11-07 21:26:13.667894"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:26:13.685830"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:26:13.689951"], ["updated_at", "2015-11-07 21:26:13.689951"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:13.685830"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:26:13.696338"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:26:13.697788"], ["updated_at", "2015-11-07 21:26:13.697788"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:13.696338"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:13.704043"], ["updated_at", "2015-11-07 21:26:13.704043"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:13.706406"], ["updated_at", "2015-11-07 21:26:13.706406"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:13.711179"], ["updated_at", "2015-11-07 21:26:13.711179"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:13.713591"], ["updated_at", "2015-11-07 21:26:13.713591"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:13.718423"], ["updated_at", "2015-11-07 21:26:13.718423"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:13.720513"], ["updated_at", "2015-11-07 21:26:13.720513"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:26:13.731613"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:26:13.733924"], ["updated_at", "2015-11-07 21:26:13.733924"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:26:14.217694"], ["updated_at", "2015-11-07 21:26:14.217694"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:14.218665"], ["updated_at", "2015-11-07 21:26:14.218665"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:14.222041"], ["updated_at", "2015-11-07 21:26:14.222041"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:14.222769"], ["updated_at", "2015-11-07 21:26:14.222769"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:26:14.230618"], ["updated_at", "2015-11-07 21:26:14.230618"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:14.231572"], ["updated_at", "2015-11-07 21:26:14.231572"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:14.234879"], ["updated_at", "2015-11-07 21:26:14.234879"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:14.235616"], ["updated_at", "2015-11-07 21:26:14.235616"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:26:14.243505"], ["updated_at", "2015-11-07 21:26:14.243505"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:14.244484"], ["updated_at", "2015-11-07 21:26:14.244484"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:14.247651"], ["updated_at", "2015-11-07 21:26:14.247651"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:14.248394"], ["updated_at", "2015-11-07 21:26:14.248394"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:26:14.256192"], ["updated_at", "2015-11-07 21:26:14.256192"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:14.257222"], ["updated_at", "2015-11-07 21:26:14.257222"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:14.260477"], ["updated_at", "2015-11-07 21:26:14.260477"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:14.261225"], ["updated_at", "2015-11-07 21:26:14.261225"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:26:14.269145"], ["updated_at", "2015-11-07 21:26:14.269145"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:14.270119"], ["updated_at", "2015-11-07 21:26:14.270119"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:14.274047"], ["updated_at", "2015-11-07 21:26:14.274047"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:14.274890"], ["updated_at", "2015-11-07 21:26:14.274890"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:13.731613"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:26:14.279136"], ["updated_at", "2015-11-07 21:26:14.279136"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:26:14.279921"], ["updated_at", "2015-11-07 21:26:14.279921"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:26:14.296396"], ["updated_at", "2015-11-07 21:26:14.296396"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:26:14.299572"], ["updated_at", "2015-11-07 21:26:14.299572"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:26:14.302163"], ["updated_at", "2015-11-07 21:26:14.302163"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:26:14.304979"], ["updated_at", "2015-11-07 21:26:14.304979"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:26:14.309079"], ["updated_at", "2015-11-07 21:26:14.309079"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:26:14.311114"], ["updated_at", "2015-11-07 21:26:14.311114"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:26:14.403414"], ["updated_at", "2015-11-07 21:26:14.403414"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:26:14.410726"], ["updated_at", "2015-11-07 21:26:14.410726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:26:14.416188"], ["updated_at", "2015-11-07 21:26:14.416188"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:26:14.418366"], ["updated_at", "2015-11-07 21:26:14.418366"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:26:14.450898"], ["updated_at", "2015-11-07 21:26:14.450898"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:14.453397"], ["updated_at", "2015-11-07 21:26:14.453397"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:26:14.457977"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:26:14.459939"], ["updated_at", "2015-11-07 21:26:14.459939"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:14.457977"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:26:14.467115"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:26:14.469470"], ["updated_at", "2015-11-07 21:26:14.469470"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:14.467115"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:14.478853"], ["updated_at", "2015-11-07 21:26:14.478853"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:14.482496"], ["updated_at", "2015-11-07 21:26:14.482496"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:14.488248"], ["updated_at", "2015-11-07 21:26:14.488248"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:14.490715"], ["updated_at", "2015-11-07 21:26:14.490715"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:26:14.495500"], ["updated_at", "2015-11-07 21:26:14.495500"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:26:14.497749"], ["updated_at", "2015-11-07 21:26:14.497749"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:26:14.507972"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:26:14.510619"], ["updated_at", "2015-11-07 21:26:14.510619"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:26:15.057917"], ["updated_at", "2015-11-07 21:26:15.057917"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:15.059044"], ["updated_at", "2015-11-07 21:26:15.059044"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:15.062753"], ["updated_at", "2015-11-07 21:26:15.062753"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:26:15.063542"], ["updated_at", "2015-11-07 21:26:15.063542"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:26:15.066559"], ["updated_at", "2015-11-07 21:26:15.066559"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:15.067364"], ["updated_at", "2015-11-07 21:26:15.067364"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:15.070586"], ["updated_at", "2015-11-07 21:26:15.070586"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:26:15.071505"], ["updated_at", "2015-11-07 21:26:15.071505"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:26:15.074868"], ["updated_at", "2015-11-07 21:26:15.074868"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:15.075815"], ["updated_at", "2015-11-07 21:26:15.075815"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:15.078924"], ["updated_at", "2015-11-07 21:26:15.078924"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:26:15.079719"], ["updated_at", "2015-11-07 21:26:15.079719"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:26:15.082607"], ["updated_at", "2015-11-07 21:26:15.082607"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:15.083439"], ["updated_at", "2015-11-07 21:26:15.083439"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:15.086977"], ["updated_at", "2015-11-07 21:26:15.086977"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:26:15.088044"], ["updated_at", "2015-11-07 21:26:15.088044"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:26:15.091124"], ["updated_at", "2015-11-07 21:26:15.091124"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:15.091971"], ["updated_at", "2015-11-07 21:26:15.091971"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:15.095275"], ["updated_at", "2015-11-07 21:26:15.095275"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:26:15.096061"], ["updated_at", "2015-11-07 21:26:15.096061"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:26:14.507972"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:26:15.100833"], ["updated_at", "2015-11-07 21:26:15.100833"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:26:15.101636"], ["updated_at", "2015-11-07 21:26:15.101636"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (17.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:26:15.133451"], ["updated_at", "2015-11-07 21:26:15.133451"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:26:15.135587"], ["updated_at", "2015-11-07 21:26:15.135587"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:26:15.137378"], ["updated_at", "2015-11-07 21:26:15.137378"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:26:15.138781"], ["updated_at", "2015-11-07 21:26:15.138781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:26:15.142165"], ["updated_at", "2015-11-07 21:26:15.142165"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:26:15.144004"], ["updated_at", "2015-11-07 21:26:15.144004"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:26:15.191458"], ["updated_at", "2015-11-07 21:26:15.191458"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:26:15.193127"], ["updated_at", "2015-11-07 21:26:15.193127"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:26:15.196074"], ["updated_at", "2015-11-07 21:26:15.196074"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:26:15.197508"], ["updated_at", "2015-11-07 21:26:15.197508"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.6ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:27:24.582930"], ["updated_at", "2015-11-07 21:27:24.582930"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:24.590277"], ["updated_at", "2015-11-07 21:27:24.590277"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:27:24.609424"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:27:24.613799"], ["updated_at", "2015-11-07 21:27:24.613799"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:24.609424"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:27:24.621409"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:27:24.623081"], ["updated_at", "2015-11-07 21:27:24.623081"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:24.621409"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:24.630301"], ["updated_at", "2015-11-07 21:27:24.630301"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:24.633160"], ["updated_at", "2015-11-07 21:27:24.633160"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:24.639295"], ["updated_at", "2015-11-07 21:27:24.639295"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:24.641913"], ["updated_at", "2015-11-07 21:27:24.641913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:24.646872"], ["updated_at", "2015-11-07 21:27:24.646872"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:24.649099"], ["updated_at", "2015-11-07 21:27:24.649099"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:27:24.660673"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:27:24.662916"], ["updated_at", "2015-11-07 21:27:24.662916"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.7ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:27:25.164169"], ["updated_at", "2015-11-07 21:27:25.164169"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.165723"], ["updated_at", "2015-11-07 21:27:25.165723"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.169265"], ["updated_at", "2015-11-07 21:27:25.169265"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.170290"], ["updated_at", "2015-11-07 21:27:25.170290"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:27:25.178164"], ["updated_at", "2015-11-07 21:27:25.178164"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.179158"], ["updated_at", "2015-11-07 21:27:25.179158"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.182573"], ["updated_at", "2015-11-07 21:27:25.182573"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.183434"], ["updated_at", "2015-11-07 21:27:25.183434"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:27:25.191779"], ["updated_at", "2015-11-07 21:27:25.191779"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.192737"], ["updated_at", "2015-11-07 21:27:25.192737"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.196154"], ["updated_at", "2015-11-07 21:27:25.196154"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.196929"], ["updated_at", "2015-11-07 21:27:25.196929"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:27:25.204923"], ["updated_at", "2015-11-07 21:27:25.204923"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.205940"], ["updated_at", "2015-11-07 21:27:25.205940"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.209268"], ["updated_at", "2015-11-07 21:27:25.209268"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.210106"], ["updated_at", "2015-11-07 21:27:25.210106"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:27:25.218767"], ["updated_at", "2015-11-07 21:27:25.218767"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.219948"], ["updated_at", "2015-11-07 21:27:25.219948"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.224157"], ["updated_at", "2015-11-07 21:27:25.224157"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.224990"], ["updated_at", "2015-11-07 21:27:25.224990"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:24.660673"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:27:25.229656"], ["updated_at", "2015-11-07 21:27:25.229656"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:27:25.230485"], ["updated_at", "2015-11-07 21:27:25.230485"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:27:25.247157"], ["updated_at", "2015-11-07 21:27:25.247157"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:27:25.250884"], ["updated_at", "2015-11-07 21:27:25.250884"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:27:25.253738"], ["updated_at", "2015-11-07 21:27:25.253738"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:27:25.256187"], ["updated_at", "2015-11-07 21:27:25.256187"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:27:25.259455"], ["updated_at", "2015-11-07 21:27:25.259455"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:27:25.260608"], ["updated_at", "2015-11-07 21:27:25.260608"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:27:25.351695"], ["updated_at", "2015-11-07 21:27:25.351695"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:27:25.358483"], ["updated_at", "2015-11-07 21:27:25.358483"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:27:25.362868"], ["updated_at", "2015-11-07 21:27:25.362868"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:27:25.365388"], ["updated_at", "2015-11-07 21:27:25.365388"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:27:25.393721"], ["updated_at", "2015-11-07 21:27:25.393721"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:25.396254"], ["updated_at", "2015-11-07 21:27:25.396254"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:27:25.400918"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:27:25.402577"], ["updated_at", "2015-11-07 21:27:25.402577"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:25.400918"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:27:25.408968"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:27:25.410620"], ["updated_at", "2015-11-07 21:27:25.410620"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:25.408968"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:25.416972"], ["updated_at", "2015-11-07 21:27:25.416972"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:25.419836"], ["updated_at", "2015-11-07 21:27:25.419836"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:25.426250"], ["updated_at", "2015-11-07 21:27:25.426250"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:25.429360"], ["updated_at", "2015-11-07 21:27:25.429360"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:27:25.434842"], ["updated_at", "2015-11-07 21:27:25.434842"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:27:25.437262"], ["updated_at", "2015-11-07 21:27:25.437262"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:27:25.447392"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:27:25.449820"], ["updated_at", "2015-11-07 21:27:25.449820"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:27:25.901339"], ["updated_at", "2015-11-07 21:27:25.901339"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.902472"], ["updated_at", "2015-11-07 21:27:25.902472"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.906022"], ["updated_at", "2015-11-07 21:27:25.906022"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:27:25.906746"], ["updated_at", "2015-11-07 21:27:25.906746"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:27:25.909438"], ["updated_at", "2015-11-07 21:27:25.909438"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.910225"], ["updated_at", "2015-11-07 21:27:25.910225"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.913202"], ["updated_at", "2015-11-07 21:27:25.913202"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:27:25.913956"], ["updated_at", "2015-11-07 21:27:25.913956"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:27:25.916885"], ["updated_at", "2015-11-07 21:27:25.916885"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.917879"], ["updated_at", "2015-11-07 21:27:25.917879"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.921599"], ["updated_at", "2015-11-07 21:27:25.921599"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:27:25.922460"], ["updated_at", "2015-11-07 21:27:25.922460"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:27:25.925500"], ["updated_at", "2015-11-07 21:27:25.925500"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.926527"], ["updated_at", "2015-11-07 21:27:25.926527"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.929750"], ["updated_at", "2015-11-07 21:27:25.929750"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:27:25.930517"], ["updated_at", "2015-11-07 21:27:25.930517"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:27:25.933494"], ["updated_at", "2015-11-07 21:27:25.933494"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.934386"], ["updated_at", "2015-11-07 21:27:25.934386"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.937897"], ["updated_at", "2015-11-07 21:27:25.937897"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:27:25.938689"], ["updated_at", "2015-11-07 21:27:25.938689"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:27:25.447392"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:27:25.943167"], ["updated_at", "2015-11-07 21:27:25.943167"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:27:25.943961"], ["updated_at", "2015-11-07 21:27:25.943961"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:27:25.958266"], ["updated_at", "2015-11-07 21:27:25.958266"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:27:25.960500"], ["updated_at", "2015-11-07 21:27:25.960500"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:27:25.962231"], ["updated_at", "2015-11-07 21:27:25.962231"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:27:25.963626"], ["updated_at", "2015-11-07 21:27:25.963626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:27:25.967193"], ["updated_at", "2015-11-07 21:27:25.967193"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:27:25.968752"], ["updated_at", "2015-11-07 21:27:25.968752"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:27:26.014015"], ["updated_at", "2015-11-07 21:27:26.014015"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:27:26.015658"], ["updated_at", "2015-11-07 21:27:26.015658"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:27:26.018746"], ["updated_at", "2015-11-07 21:27:26.018746"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:27:26.020578"], ["updated_at", "2015-11-07 21:27:26.020578"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.0ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.9ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:34:01.329294"], ["updated_at", "2015-11-07 21:34:01.329294"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:01.338874"], ["updated_at", "2015-11-07 21:34:01.338874"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:34:01.358114"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:34:01.362638"], ["updated_at", "2015-11-07 21:34:01.362638"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:01.358114"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:34:01.369653"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:34:01.371154"], ["updated_at", "2015-11-07 21:34:01.371154"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:01.369653"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:01.381642"], ["updated_at", "2015-11-07 21:34:01.381642"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:01.385230"], ["updated_at", "2015-11-07 21:34:01.385230"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:01.391126"], ["updated_at", "2015-11-07 21:34:01.391126"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:01.394227"], ["updated_at", "2015-11-07 21:34:01.394227"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:01.399755"], ["updated_at", "2015-11-07 21:34:01.399755"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:01.402808"], ["updated_at", "2015-11-07 21:34:01.402808"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:34:01.419515"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:34:01.422334"], ["updated_at", "2015-11-07 21:34:01.422334"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:34:01.933577"], ["updated_at", "2015-11-07 21:34:01.933577"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:01.934547"], ["updated_at", "2015-11-07 21:34:01.934547"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:01.937874"], ["updated_at", "2015-11-07 21:34:01.937874"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:01.938627"], ["updated_at", "2015-11-07 21:34:01.938627"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:34:01.946143"], ["updated_at", "2015-11-07 21:34:01.946143"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:01.947072"], ["updated_at", "2015-11-07 21:34:01.947072"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:01.950272"], ["updated_at", "2015-11-07 21:34:01.950272"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:01.951013"], ["updated_at", "2015-11-07 21:34:01.951013"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:34:01.959298"], ["updated_at", "2015-11-07 21:34:01.959298"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:01.960351"], ["updated_at", "2015-11-07 21:34:01.960351"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:01.963676"], ["updated_at", "2015-11-07 21:34:01.963676"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:01.964478"], ["updated_at", "2015-11-07 21:34:01.964478"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:34:01.972775"], ["updated_at", "2015-11-07 21:34:01.972775"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:01.973704"], ["updated_at", "2015-11-07 21:34:01.973704"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:01.977085"], ["updated_at", "2015-11-07 21:34:01.977085"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:01.977863"], ["updated_at", "2015-11-07 21:34:01.977863"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:34:01.986034"], ["updated_at", "2015-11-07 21:34:01.986034"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:01.986978"], ["updated_at", "2015-11-07 21:34:01.986978"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:01.990949"], ["updated_at", "2015-11-07 21:34:01.990949"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:01.991710"], ["updated_at", "2015-11-07 21:34:01.991710"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:01.419515"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:01.996092"], ["updated_at", "2015-11-07 21:34:01.996092"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:01.996932"], ["updated_at", "2015-11-07 21:34:01.996932"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:34:02.013292"], ["updated_at", "2015-11-07 21:34:02.013292"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:34:02.016716"], ["updated_at", "2015-11-07 21:34:02.016716"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:34:02.019615"], ["updated_at", "2015-11-07 21:34:02.019615"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:34:02.022676"], ["updated_at", "2015-11-07 21:34:02.022676"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:34:02.026422"], ["updated_at", "2015-11-07 21:34:02.026422"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:34:02.027907"], ["updated_at", "2015-11-07 21:34:02.027907"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:02.124728"], ["updated_at", "2015-11-07 21:34:02.124728"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:02.131902"], ["updated_at", "2015-11-07 21:34:02.131902"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:02.137726"], ["updated_at", "2015-11-07 21:34:02.137726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:02.140532"], ["updated_at", "2015-11-07 21:34:02.140532"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:34:02.172460"], ["updated_at", "2015-11-07 21:34:02.172460"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:02.174851"], ["updated_at", "2015-11-07 21:34:02.174851"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:34:02.179491"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:34:02.181121"], ["updated_at", "2015-11-07 21:34:02.181121"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:02.179491"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:34:02.187062"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:34:02.188656"], ["updated_at", "2015-11-07 21:34:02.188656"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:02.187062"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:02.196397"], ["updated_at", "2015-11-07 21:34:02.196397"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:02.199704"], ["updated_at", "2015-11-07 21:34:02.199704"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:02.205572"], ["updated_at", "2015-11-07 21:34:02.205572"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:02.208197"], ["updated_at", "2015-11-07 21:34:02.208197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:02.212993"], ["updated_at", "2015-11-07 21:34:02.212993"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:02.215289"], ["updated_at", "2015-11-07 21:34:02.215289"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:34:02.226774"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:34:02.229175"], ["updated_at", "2015-11-07 21:34:02.229175"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:34:02.726446"], ["updated_at", "2015-11-07 21:34:02.726446"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:02.727544"], ["updated_at", "2015-11-07 21:34:02.727544"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:02.731122"], ["updated_at", "2015-11-07 21:34:02.731122"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:02.731900"], ["updated_at", "2015-11-07 21:34:02.731900"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:34:02.734681"], ["updated_at", "2015-11-07 21:34:02.734681"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:02.735514"], ["updated_at", "2015-11-07 21:34:02.735514"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:02.738969"], ["updated_at", "2015-11-07 21:34:02.738969"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:02.740046"], ["updated_at", "2015-11-07 21:34:02.740046"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:34:02.743079"], ["updated_at", "2015-11-07 21:34:02.743079"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:02.743933"], ["updated_at", "2015-11-07 21:34:02.743933"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:02.749731"], ["updated_at", "2015-11-07 21:34:02.749731"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:02.750863"], ["updated_at", "2015-11-07 21:34:02.750863"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:34:02.754653"], ["updated_at", "2015-11-07 21:34:02.754653"]] SQL (0.3ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:02.756087"], ["updated_at", "2015-11-07 21:34:02.756087"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:02.761675"], ["updated_at", "2015-11-07 21:34:02.761675"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:02.762873"], ["updated_at", "2015-11-07 21:34:02.762873"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:34:02.766893"], ["updated_at", "2015-11-07 21:34:02.766893"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:02.768666"], ["updated_at", "2015-11-07 21:34:02.768666"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:02.774124"], ["updated_at", "2015-11-07 21:34:02.774124"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:02.775199"], ["updated_at", "2015-11-07 21:34:02.775199"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:02.226774"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:02.782562"], ["updated_at", "2015-11-07 21:34:02.782562"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:02.783744"], ["updated_at", "2015-11-07 21:34:02.783744"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:34:02.801247"], ["updated_at", "2015-11-07 21:34:02.801247"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:34:02.803116"], ["updated_at", "2015-11-07 21:34:02.803116"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:34:02.804779"], ["updated_at", "2015-11-07 21:34:02.804779"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:34:02.806141"], ["updated_at", "2015-11-07 21:34:02.806141"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:34:02.809471"], ["updated_at", "2015-11-07 21:34:02.809471"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:34:02.811002"], ["updated_at", "2015-11-07 21:34:02.811002"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:02.862713"], ["updated_at", "2015-11-07 21:34:02.862713"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:02.864373"], ["updated_at", "2015-11-07 21:34:02.864373"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:02.868386"], ["updated_at", "2015-11-07 21:34:02.868386"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:02.870556"], ["updated_at", "2015-11-07 21:34:02.870556"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.9ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:34:39.339309"], ["updated_at", "2015-11-07 21:34:39.339309"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:39.346982"], ["updated_at", "2015-11-07 21:34:39.346982"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:34:39.364891"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:34:39.369029"], ["updated_at", "2015-11-07 21:34:39.369029"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:39.364891"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:34:39.375958"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:34:39.377486"], ["updated_at", "2015-11-07 21:34:39.377486"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:39.375958"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:39.384841"], ["updated_at", "2015-11-07 21:34:39.384841"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:39.388433"], ["updated_at", "2015-11-07 21:34:39.388433"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:39.394109"], ["updated_at", "2015-11-07 21:34:39.394109"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:39.396572"], ["updated_at", "2015-11-07 21:34:39.396572"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:39.402114"], ["updated_at", "2015-11-07 21:34:39.402114"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:39.405966"], ["updated_at", "2015-11-07 21:34:39.405966"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:34:39.419367"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:34:39.421639"], ["updated_at", "2015-11-07 21:34:39.421639"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:34:39.891827"], ["updated_at", "2015-11-07 21:34:39.891827"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:39.892828"], ["updated_at", "2015-11-07 21:34:39.892828"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:39.896152"], ["updated_at", "2015-11-07 21:34:39.896152"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:39.897260"], ["updated_at", "2015-11-07 21:34:39.897260"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:34:39.905452"], ["updated_at", "2015-11-07 21:34:39.905452"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:39.906526"], ["updated_at", "2015-11-07 21:34:39.906526"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:39.910111"], ["updated_at", "2015-11-07 21:34:39.910111"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:39.911018"], ["updated_at", "2015-11-07 21:34:39.911018"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:34:39.919816"], ["updated_at", "2015-11-07 21:34:39.919816"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:39.920866"], ["updated_at", "2015-11-07 21:34:39.920866"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:39.924239"], ["updated_at", "2015-11-07 21:34:39.924239"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:39.925035"], ["updated_at", "2015-11-07 21:34:39.925035"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:34:39.933137"], ["updated_at", "2015-11-07 21:34:39.933137"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:39.934090"], ["updated_at", "2015-11-07 21:34:39.934090"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:39.937537"], ["updated_at", "2015-11-07 21:34:39.937537"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:39.938275"], ["updated_at", "2015-11-07 21:34:39.938275"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:34:39.946550"], ["updated_at", "2015-11-07 21:34:39.946550"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:39.947581"], ["updated_at", "2015-11-07 21:34:39.947581"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:39.951757"], ["updated_at", "2015-11-07 21:34:39.951757"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:39.952520"], ["updated_at", "2015-11-07 21:34:39.952520"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:39.419367"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:39.956843"], ["updated_at", "2015-11-07 21:34:39.956843"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:39.957635"], ["updated_at", "2015-11-07 21:34:39.957635"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:34:39.975674"], ["updated_at", "2015-11-07 21:34:39.975674"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:34:39.979971"], ["updated_at", "2015-11-07 21:34:39.979971"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:34:39.983158"], ["updated_at", "2015-11-07 21:34:39.983158"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:34:39.986038"], ["updated_at", "2015-11-07 21:34:39.986038"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:34:39.989840"], ["updated_at", "2015-11-07 21:34:39.989840"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:34:39.992210"], ["updated_at", "2015-11-07 21:34:39.992210"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:40.090893"], ["updated_at", "2015-11-07 21:34:40.090893"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:40.097824"], ["updated_at", "2015-11-07 21:34:40.097824"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:40.102557"], ["updated_at", "2015-11-07 21:34:40.102557"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:40.104542"], ["updated_at", "2015-11-07 21:34:40.104542"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:34:40.132461"], ["updated_at", "2015-11-07 21:34:40.132461"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:40.134813"], ["updated_at", "2015-11-07 21:34:40.134813"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:34:40.139346"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:34:40.140925"], ["updated_at", "2015-11-07 21:34:40.140925"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:40.139346"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:34:40.148118"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:34:40.150156"], ["updated_at", "2015-11-07 21:34:40.150156"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:40.148118"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:40.157613"], ["updated_at", "2015-11-07 21:34:40.157613"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:40.160192"], ["updated_at", "2015-11-07 21:34:40.160192"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:40.165196"], ["updated_at", "2015-11-07 21:34:40.165196"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:40.168498"], ["updated_at", "2015-11-07 21:34:40.168498"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:34:40.174725"], ["updated_at", "2015-11-07 21:34:40.174725"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:34:40.177341"], ["updated_at", "2015-11-07 21:34:40.177341"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:34:40.191157"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:34:40.194030"], ["updated_at", "2015-11-07 21:34:40.194030"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:34:40.655167"], ["updated_at", "2015-11-07 21:34:40.655167"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:40.656292"], ["updated_at", "2015-11-07 21:34:40.656292"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:40.660021"], ["updated_at", "2015-11-07 21:34:40.660021"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:34:40.660888"], ["updated_at", "2015-11-07 21:34:40.660888"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:34:40.663908"], ["updated_at", "2015-11-07 21:34:40.663908"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:40.664711"], ["updated_at", "2015-11-07 21:34:40.664711"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:40.668319"], ["updated_at", "2015-11-07 21:34:40.668319"]] SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:34:40.669054"], ["updated_at", "2015-11-07 21:34:40.669054"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:34:40.671942"], ["updated_at", "2015-11-07 21:34:40.671942"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:40.672732"], ["updated_at", "2015-11-07 21:34:40.672732"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:40.675988"], ["updated_at", "2015-11-07 21:34:40.675988"]] SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:34:40.676749"], ["updated_at", "2015-11-07 21:34:40.676749"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:34:40.679626"], ["updated_at", "2015-11-07 21:34:40.679626"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:40.680458"], ["updated_at", "2015-11-07 21:34:40.680458"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:40.683582"], ["updated_at", "2015-11-07 21:34:40.683582"]] SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:34:40.684411"], ["updated_at", "2015-11-07 21:34:40.684411"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:34:40.687553"], ["updated_at", "2015-11-07 21:34:40.687553"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:40.688505"], ["updated_at", "2015-11-07 21:34:40.688505"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:40.691827"], ["updated_at", "2015-11-07 21:34:40.691827"]] SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:34:40.692603"], ["updated_at", "2015-11-07 21:34:40.692603"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:34:40.191157"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:40.696992"], ["updated_at", "2015-11-07 21:34:40.696992"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:34:40.697742"], ["updated_at", "2015-11-07 21:34:40.697742"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:34:40.711750"], ["updated_at", "2015-11-07 21:34:40.711750"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:34:40.713185"], ["updated_at", "2015-11-07 21:34:40.713185"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:34:40.714370"], ["updated_at", "2015-11-07 21:34:40.714370"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:34:40.715349"], ["updated_at", "2015-11-07 21:34:40.715349"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:34:40.718900"], ["updated_at", "2015-11-07 21:34:40.718900"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:34:40.721222"], ["updated_at", "2015-11-07 21:34:40.721222"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:40.769821"], ["updated_at", "2015-11-07 21:34:40.769821"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:40.771618"], ["updated_at", "2015-11-07 21:34:40.771618"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:34:40.775237"], ["updated_at", "2015-11-07 21:34:40.775237"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:34:40.777493"], ["updated_at", "2015-11-07 21:34:40.777493"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.9ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:37:37.500278"], ["updated_at", "2015-11-07 21:37:37.500278"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:37.507940"], ["updated_at", "2015-11-07 21:37:37.507940"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:37:37.527336"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:37:37.531638"], ["updated_at", "2015-11-07 21:37:37.531638"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:37.527336"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:37:37.538356"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:37:37.539834"], ["updated_at", "2015-11-07 21:37:37.539834"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:37.538356"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:37.546847"], ["updated_at", "2015-11-07 21:37:37.546847"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:37.550416"], ["updated_at", "2015-11-07 21:37:37.550416"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:37.555959"], ["updated_at", "2015-11-07 21:37:37.555959"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:37.558372"], ["updated_at", "2015-11-07 21:37:37.558372"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:37.563193"], ["updated_at", "2015-11-07 21:37:37.563193"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:37.565632"], ["updated_at", "2015-11-07 21:37:37.565632"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:37:37.579104"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:37:37.582614"], ["updated_at", "2015-11-07 21:37:37.582614"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:37:38.105176"], ["updated_at", "2015-11-07 21:37:38.105176"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.106298"], ["updated_at", "2015-11-07 21:37:38.106298"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.109851"], ["updated_at", "2015-11-07 21:37:38.109851"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.110631"], ["updated_at", "2015-11-07 21:37:38.110631"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:37:38.118697"], ["updated_at", "2015-11-07 21:37:38.118697"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:37:38.119791"], ["updated_at", "2015-11-07 21:37:38.119791"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:37:38.122766"], ["updated_at", "2015-11-07 21:37:38.122766"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:37:38.130523"], ["updated_at", "2015-11-07 21:37:38.130523"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:37:38.131455"], ["updated_at", "2015-11-07 21:37:38.131455"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:37:38.134307"], ["updated_at", "2015-11-07 21:37:38.134307"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:37:38.141923"], ["updated_at", "2015-11-07 21:37:38.141923"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:37:38.142907"], ["updated_at", "2015-11-07 21:37:38.142907"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:37:38.145876"], ["updated_at", "2015-11-07 21:37:38.145876"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:37:38.154520"], ["updated_at", "2015-11-07 21:37:38.154520"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:37:38.155528"], ["updated_at", "2015-11-07 21:37:38.155528"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:37:38.159274"], ["updated_at", "2015-11-07 21:37:38.159274"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:37.579104"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:37:38.163720"], ["updated_at", "2015-11-07 21:37:38.163720"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:37:38.164514"], ["updated_at", "2015-11-07 21:37:38.164514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:37:38.186287"], ["updated_at", "2015-11-07 21:37:38.186287"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:37:38.189592"], ["updated_at", "2015-11-07 21:37:38.189592"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:37:38.192116"], ["updated_at", "2015-11-07 21:37:38.192116"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:37:38.194531"], ["updated_at", "2015-11-07 21:37:38.194531"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:37:38.197882"], ["updated_at", "2015-11-07 21:37:38.197882"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:37:38.199543"], ["updated_at", "2015-11-07 21:37:38.199543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:37:38.294791"], ["updated_at", "2015-11-07 21:37:38.294791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:37:38.301677"], ["updated_at", "2015-11-07 21:37:38.301677"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:37:38.306413"], ["updated_at", "2015-11-07 21:37:38.306413"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:37:38.308916"], ["updated_at", "2015-11-07 21:37:38.308916"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:37:38.338235"], ["updated_at", "2015-11-07 21:37:38.338235"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:38.340796"], ["updated_at", "2015-11-07 21:37:38.340796"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:37:38.345284"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:37:38.346856"], ["updated_at", "2015-11-07 21:37:38.346856"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:38.345284"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:37:38.352764"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:37:38.354333"], ["updated_at", "2015-11-07 21:37:38.354333"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:38.352764"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:38.360436"], ["updated_at", "2015-11-07 21:37:38.360436"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:38.362636"], ["updated_at", "2015-11-07 21:37:38.362636"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:38.367179"], ["updated_at", "2015-11-07 21:37:38.367179"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:38.369900"], ["updated_at", "2015-11-07 21:37:38.369900"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:37:38.374803"], ["updated_at", "2015-11-07 21:37:38.374803"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:37:38.376971"], ["updated_at", "2015-11-07 21:37:38.376971"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:37:38.389630"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:37:38.392692"], ["updated_at", "2015-11-07 21:37:38.392692"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:37:38.835063"], ["updated_at", "2015-11-07 21:37:38.835063"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.836147"], ["updated_at", "2015-11-07 21:37:38.836147"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."id" = ? [["id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.839543"], ["updated_at", "2015-11-07 21:37:38.839543"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:37:38.840269"], ["updated_at", "2015-11-07 21:37:38.840269"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:37:38.842966"], ["updated_at", "2015-11-07 21:37:38.842966"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:37:38.843805"], ["updated_at", "2015-11-07 21:37:38.843805"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."id" = ? [["id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:37:38.846479"], ["updated_at", "2015-11-07 21:37:38.846479"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:37:38.849331"], ["updated_at", "2015-11-07 21:37:38.849331"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:37:38.850286"], ["updated_at", "2015-11-07 21:37:38.850286"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."id" = ? [["id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:37:38.853200"], ["updated_at", "2015-11-07 21:37:38.853200"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:37:38.856092"], ["updated_at", "2015-11-07 21:37:38.856092"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:37:38.856910"], ["updated_at", "2015-11-07 21:37:38.856910"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."id" = ? [["id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:37:38.859731"], ["updated_at", "2015-11-07 21:37:38.859731"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:37:38.862751"], ["updated_at", "2015-11-07 21:37:38.862751"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:37:38.863627"], ["updated_at", "2015-11-07 21:37:38.863627"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."id" = ? [["id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:37:38.866581"], ["updated_at", "2015-11-07 21:37:38.866581"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:37:38.389630"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:37:38.871166"], ["updated_at", "2015-11-07 21:37:38.871166"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:37:38.871986"], ["updated_at", "2015-11-07 21:37:38.871986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:37:38.891467"], ["updated_at", "2015-11-07 21:37:38.891467"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:37:38.893214"], ["updated_at", "2015-11-07 21:37:38.893214"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:37:38.894444"], ["updated_at", "2015-11-07 21:37:38.894444"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:37:38.895462"], ["updated_at", "2015-11-07 21:37:38.895462"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:37:38.898212"], ["updated_at", "2015-11-07 21:37:38.898212"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:37:38.899831"], ["updated_at", "2015-11-07 21:37:38.899831"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:37:38.946225"], ["updated_at", "2015-11-07 21:37:38.946225"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:37:38.947896"], ["updated_at", "2015-11-07 21:37:38.947896"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:37:38.952023"], ["updated_at", "2015-11-07 21:37:38.952023"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:37:38.954569"], ["updated_at", "2015-11-07 21:37:38.954569"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:38:29.389551"], ["updated_at", "2015-11-07 21:38:29.389551"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:29.397361"], ["updated_at", "2015-11-07 21:38:29.397361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:38:29.417185"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:38:29.421529"], ["updated_at", "2015-11-07 21:38:29.421529"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:29.417185"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:38:29.428576"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:38:29.430068"], ["updated_at", "2015-11-07 21:38:29.430068"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:29.428576"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:29.436046"], ["updated_at", "2015-11-07 21:38:29.436046"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:29.438291"], ["updated_at", "2015-11-07 21:38:29.438291"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:29.442592"], ["updated_at", "2015-11-07 21:38:29.442592"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:29.444733"], ["updated_at", "2015-11-07 21:38:29.444733"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:29.450039"], ["updated_at", "2015-11-07 21:38:29.450039"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:29.452840"], ["updated_at", "2015-11-07 21:38:29.452840"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:38:29.464295"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:38:29.466616"], ["updated_at", "2015-11-07 21:38:29.466616"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:38:29.984027"], ["updated_at", "2015-11-07 21:38:29.984027"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:29.984967"], ["updated_at", "2015-11-07 21:38:29.984967"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:29.988134"], ["updated_at", "2015-11-07 21:38:29.988134"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:29.989041"], ["updated_at", "2015-11-07 21:38:29.989041"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:38:29.996406"], ["updated_at", "2015-11-07 21:38:29.996406"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:38:29.997310"], ["updated_at", "2015-11-07 21:38:29.997310"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:38:30.000171"], ["updated_at", "2015-11-07 21:38:30.000171"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:38:30.008115"], ["updated_at", "2015-11-07 21:38:30.008115"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:38:30.009114"], ["updated_at", "2015-11-07 21:38:30.009114"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:38:30.012010"], ["updated_at", "2015-11-07 21:38:30.012010"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:38:30.021935"], ["updated_at", "2015-11-07 21:38:30.021935"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:38:30.023056"], ["updated_at", "2015-11-07 21:38:30.023056"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.2ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:38:30.027341"], ["updated_at", "2015-11-07 21:38:30.027341"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:38:30.038994"], ["updated_at", "2015-11-07 21:38:30.038994"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:38:30.040217"], ["updated_at", "2015-11-07 21:38:30.040217"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:38:30.044203"], ["updated_at", "2015-11-07 21:38:30.044203"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:29.464295"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:38:30.048977"], ["updated_at", "2015-11-07 21:38:30.048977"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:38:30.049828"], ["updated_at", "2015-11-07 21:38:30.049828"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:38:30.072931"], ["updated_at", "2015-11-07 21:38:30.072931"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:38:30.076022"], ["updated_at", "2015-11-07 21:38:30.076022"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:38:30.078880"], ["updated_at", "2015-11-07 21:38:30.078880"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:38:30.082517"], ["updated_at", "2015-11-07 21:38:30.082517"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:38:30.086330"], ["updated_at", "2015-11-07 21:38:30.086330"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:38:30.087763"], ["updated_at", "2015-11-07 21:38:30.087763"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:38:30.180012"], ["updated_at", "2015-11-07 21:38:30.180012"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:38:30.187418"], ["updated_at", "2015-11-07 21:38:30.187418"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:38:30.192893"], ["updated_at", "2015-11-07 21:38:30.192893"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:38:30.195156"], ["updated_at", "2015-11-07 21:38:30.195156"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:38:30.226885"], ["updated_at", "2015-11-07 21:38:30.226885"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:30.229417"], ["updated_at", "2015-11-07 21:38:30.229417"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:38:30.234145"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:38:30.235799"], ["updated_at", "2015-11-07 21:38:30.235799"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:30.234145"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:38:30.242137"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:38:30.244267"], ["updated_at", "2015-11-07 21:38:30.244267"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:30.242137"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:30.251498"], ["updated_at", "2015-11-07 21:38:30.251498"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:30.255209"], ["updated_at", "2015-11-07 21:38:30.255209"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:30.260856"], ["updated_at", "2015-11-07 21:38:30.260856"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:30.263339"], ["updated_at", "2015-11-07 21:38:30.263339"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:38:30.268983"], ["updated_at", "2015-11-07 21:38:30.268983"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:38:30.272713"], ["updated_at", "2015-11-07 21:38:30.272713"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:38:30.284791"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:38:30.288300"], ["updated_at", "2015-11-07 21:38:30.288300"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:38:30.733286"], ["updated_at", "2015-11-07 21:38:30.733286"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:30.734399"], ["updated_at", "2015-11-07 21:38:30.734399"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:30.737838"], ["updated_at", "2015-11-07 21:38:30.737838"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:38:30.738618"], ["updated_at", "2015-11-07 21:38:30.738618"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:38:30.741261"], ["updated_at", "2015-11-07 21:38:30.741261"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:38:30.742104"], ["updated_at", "2015-11-07 21:38:30.742104"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:38:30.744801"], ["updated_at", "2015-11-07 21:38:30.744801"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:38:30.747663"], ["updated_at", "2015-11-07 21:38:30.747663"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:38:30.748516"], ["updated_at", "2015-11-07 21:38:30.748516"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:38:30.751383"], ["updated_at", "2015-11-07 21:38:30.751383"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:38:30.754145"], ["updated_at", "2015-11-07 21:38:30.754145"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:38:30.754994"], ["updated_at", "2015-11-07 21:38:30.754994"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:38:30.757611"], ["updated_at", "2015-11-07 21:38:30.757611"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:38:30.760542"], ["updated_at", "2015-11-07 21:38:30.760542"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:38:30.761367"], ["updated_at", "2015-11-07 21:38:30.761367"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:38:30.764095"], ["updated_at", "2015-11-07 21:38:30.764095"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:38:30.284791"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:38:30.768639"], ["updated_at", "2015-11-07 21:38:30.768639"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:38:30.769465"], ["updated_at", "2015-11-07 21:38:30.769465"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:38:30.789382"], ["updated_at", "2015-11-07 21:38:30.789382"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:38:30.790891"], ["updated_at", "2015-11-07 21:38:30.790891"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:38:30.792048"], ["updated_at", "2015-11-07 21:38:30.792048"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:38:30.793057"], ["updated_at", "2015-11-07 21:38:30.793057"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:38:30.796621"], ["updated_at", "2015-11-07 21:38:30.796621"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:38:30.798662"], ["updated_at", "2015-11-07 21:38:30.798662"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:38:30.848817"], ["updated_at", "2015-11-07 21:38:30.848817"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:38:30.850439"], ["updated_at", "2015-11-07 21:38:30.850439"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:38:30.854520"], ["updated_at", "2015-11-07 21:38:30.854520"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:38:30.857145"], ["updated_at", "2015-11-07 21:38:30.857145"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:39:55.900132"], ["updated_at", "2015-11-07 21:39:55.900132"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:55.907922"], ["updated_at", "2015-11-07 21:39:55.907922"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:39:55.926488"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:39:55.931426"], ["updated_at", "2015-11-07 21:39:55.931426"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:55.926488"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:39:55.938023"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:39:55.939474"], ["updated_at", "2015-11-07 21:39:55.939474"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:55.938023"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:55.946511"], ["updated_at", "2015-11-07 21:39:55.946511"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:55.950133"], ["updated_at", "2015-11-07 21:39:55.950133"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:55.955766"], ["updated_at", "2015-11-07 21:39:55.955766"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:55.958418"], ["updated_at", "2015-11-07 21:39:55.958418"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:55.965045"], ["updated_at", "2015-11-07 21:39:55.965045"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:55.968625"], ["updated_at", "2015-11-07 21:39:55.968625"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:39:55.981858"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:39:55.984073"], ["updated_at", "2015-11-07 21:39:55.984073"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:39:56.938268"], ["updated_at", "2015-11-07 21:39:56.938268"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:56.939255"], ["updated_at", "2015-11-07 21:39:56.939255"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:56.942520"], ["updated_at", "2015-11-07 21:39:56.942520"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:56.943253"], ["updated_at", "2015-11-07 21:39:56.943253"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:39:56.951759"], ["updated_at", "2015-11-07 21:39:56.951759"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:39:56.953080"], ["updated_at", "2015-11-07 21:39:56.953080"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:39:56.955992"], ["updated_at", "2015-11-07 21:39:56.955992"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:39:56.964181"], ["updated_at", "2015-11-07 21:39:56.964181"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:39:56.965143"], ["updated_at", "2015-11-07 21:39:56.965143"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:39:56.968121"], ["updated_at", "2015-11-07 21:39:56.968121"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:39:56.976188"], ["updated_at", "2015-11-07 21:39:56.976188"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:39:56.977159"], ["updated_at", "2015-11-07 21:39:56.977159"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:39:56.980106"], ["updated_at", "2015-11-07 21:39:56.980106"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:39:56.990035"], ["updated_at", "2015-11-07 21:39:56.990035"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:39:56.991448"], ["updated_at", "2015-11-07 21:39:56.991448"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:39:56.995887"], ["updated_at", "2015-11-07 21:39:56.995887"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:55.981858"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:39:57.000654"], ["updated_at", "2015-11-07 21:39:57.000654"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:39:57.001588"], ["updated_at", "2015-11-07 21:39:57.001588"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:39:57.029272"], ["updated_at", "2015-11-07 21:39:57.029272"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:39:57.033235"], ["updated_at", "2015-11-07 21:39:57.033235"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:39:57.036266"], ["updated_at", "2015-11-07 21:39:57.036266"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:39:57.038707"], ["updated_at", "2015-11-07 21:39:57.038707"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:39:57.041919"], ["updated_at", "2015-11-07 21:39:57.041919"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:39:57.043093"], ["updated_at", "2015-11-07 21:39:57.043093"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (32.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:39:57.134464"], ["updated_at", "2015-11-07 21:39:57.134464"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:39:57.141739"], ["updated_at", "2015-11-07 21:39:57.141739"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:39:57.147148"], ["updated_at", "2015-11-07 21:39:57.147148"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:39:57.149726"], ["updated_at", "2015-11-07 21:39:57.149726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:39:57.178323"], ["updated_at", "2015-11-07 21:39:57.178323"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:57.180804"], ["updated_at", "2015-11-07 21:39:57.180804"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:39:57.185266"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:39:57.186868"], ["updated_at", "2015-11-07 21:39:57.186868"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:57.185266"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:39:57.193520"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:39:57.195880"], ["updated_at", "2015-11-07 21:39:57.195880"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:57.193520"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:57.204537"], ["updated_at", "2015-11-07 21:39:57.204537"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:57.208235"], ["updated_at", "2015-11-07 21:39:57.208235"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:57.214912"], ["updated_at", "2015-11-07 21:39:57.214912"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:57.217557"], ["updated_at", "2015-11-07 21:39:57.217557"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:39:57.222500"], ["updated_at", "2015-11-07 21:39:57.222500"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:39:57.224714"], ["updated_at", "2015-11-07 21:39:57.224714"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:39:57.234728"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:39:57.237294"], ["updated_at", "2015-11-07 21:39:57.237294"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:39:57.699917"], ["updated_at", "2015-11-07 21:39:57.699917"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:57.700967"], ["updated_at", "2015-11-07 21:39:57.700967"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:57.704389"], ["updated_at", "2015-11-07 21:39:57.704389"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:39:57.705141"], ["updated_at", "2015-11-07 21:39:57.705141"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:39:57.708502"], ["updated_at", "2015-11-07 21:39:57.708502"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:39:57.709322"], ["updated_at", "2015-11-07 21:39:57.709322"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:39:57.712054"], ["updated_at", "2015-11-07 21:39:57.712054"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:39:57.715444"], ["updated_at", "2015-11-07 21:39:57.715444"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:39:57.716481"], ["updated_at", "2015-11-07 21:39:57.716481"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:39:57.719410"], ["updated_at", "2015-11-07 21:39:57.719410"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:39:57.722434"], ["updated_at", "2015-11-07 21:39:57.722434"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:39:57.723230"], ["updated_at", "2015-11-07 21:39:57.723230"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:39:57.725926"], ["updated_at", "2015-11-07 21:39:57.725926"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:39:57.729191"], ["updated_at", "2015-11-07 21:39:57.729191"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:39:57.730149"], ["updated_at", "2015-11-07 21:39:57.730149"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:39:57.733166"], ["updated_at", "2015-11-07 21:39:57.733166"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:39:57.234728"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:39:57.738060"], ["updated_at", "2015-11-07 21:39:57.738060"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:39:57.738867"], ["updated_at", "2015-11-07 21:39:57.738867"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:39:57.761703"], ["updated_at", "2015-11-07 21:39:57.761703"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:39:57.763792"], ["updated_at", "2015-11-07 21:39:57.763792"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:39:57.765514"], ["updated_at", "2015-11-07 21:39:57.765514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:39:57.766887"], ["updated_at", "2015-11-07 21:39:57.766887"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:39:57.770192"], ["updated_at", "2015-11-07 21:39:57.770192"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:39:57.771494"], ["updated_at", "2015-11-07 21:39:57.771494"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:39:57.819345"], ["updated_at", "2015-11-07 21:39:57.819345"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:39:57.821136"], ["updated_at", "2015-11-07 21:39:57.821136"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:39:57.824660"], ["updated_at", "2015-11-07 21:39:57.824660"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:39:57.826404"], ["updated_at", "2015-11-07 21:39:57.826404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:40:58.381043"], ["updated_at", "2015-11-07 21:40:58.381043"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:58.388641"], ["updated_at", "2015-11-07 21:40:58.388641"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:40:58.407244"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:40:58.412118"], ["updated_at", "2015-11-07 21:40:58.412118"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:58.407244"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:40:58.418969"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:40:58.420544"], ["updated_at", "2015-11-07 21:40:58.420544"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:58.418969"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:58.426727"], ["updated_at", "2015-11-07 21:40:58.426727"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:58.428906"], ["updated_at", "2015-11-07 21:40:58.428906"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:58.433311"], ["updated_at", "2015-11-07 21:40:58.433311"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:58.435397"], ["updated_at", "2015-11-07 21:40:58.435397"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:58.439997"], ["updated_at", "2015-11-07 21:40:58.439997"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:58.442543"], ["updated_at", "2015-11-07 21:40:58.442543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:40:58.453707"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:40:58.455945"], ["updated_at", "2015-11-07 21:40:58.455945"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:40:58.910826"], ["updated_at", "2015-11-07 21:40:58.910826"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:58.911891"], ["updated_at", "2015-11-07 21:40:58.911891"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:58.915374"], ["updated_at", "2015-11-07 21:40:58.915374"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:58.916385"], ["updated_at", "2015-11-07 21:40:58.916385"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:40:58.924605"], ["updated_at", "2015-11-07 21:40:58.924605"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:40:58.925594"], ["updated_at", "2015-11-07 21:40:58.925594"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:40:58.930335"], ["updated_at", "2015-11-07 21:40:58.930335"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:40:58.941141"], ["updated_at", "2015-11-07 21:40:58.941141"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:40:58.942138"], ["updated_at", "2015-11-07 21:40:58.942138"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:40:58.945377"], ["updated_at", "2015-11-07 21:40:58.945377"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:40:58.953892"], ["updated_at", "2015-11-07 21:40:58.953892"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:40:58.954965"], ["updated_at", "2015-11-07 21:40:58.954965"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:40:58.957949"], ["updated_at", "2015-11-07 21:40:58.957949"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:40:58.966463"], ["updated_at", "2015-11-07 21:40:58.966463"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:40:58.967521"], ["updated_at", "2015-11-07 21:40:58.967521"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:40:58.972154"], ["updated_at", "2015-11-07 21:40:58.972154"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:58.453707"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:40:58.978311"], ["updated_at", "2015-11-07 21:40:58.978311"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:40:58.979314"], ["updated_at", "2015-11-07 21:40:58.979314"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:40:58.992792"], ["updated_at", "2015-11-07 21:40:58.992792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:40:58.996725"], ["updated_at", "2015-11-07 21:40:58.996725"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:40:59.000015"], ["updated_at", "2015-11-07 21:40:59.000015"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:40:59.003195"], ["updated_at", "2015-11-07 21:40:59.003195"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:40:59.006726"], ["updated_at", "2015-11-07 21:40:59.006726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:40:59.007983"], ["updated_at", "2015-11-07 21:40:59.007983"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:40:59.103274"], ["updated_at", "2015-11-07 21:40:59.103274"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:40:59.110784"], ["updated_at", "2015-11-07 21:40:59.110784"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:40:59.115215"], ["updated_at", "2015-11-07 21:40:59.115215"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:40:59.117073"], ["updated_at", "2015-11-07 21:40:59.117073"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:40:59.145107"], ["updated_at", "2015-11-07 21:40:59.145107"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:59.147513"], ["updated_at", "2015-11-07 21:40:59.147513"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:40:59.152393"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:40:59.154395"], ["updated_at", "2015-11-07 21:40:59.154395"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:59.152393"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:40:59.160950"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:40:59.163486"], ["updated_at", "2015-11-07 21:40:59.163486"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:59.160950"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:59.171863"], ["updated_at", "2015-11-07 21:40:59.171863"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:59.175448"], ["updated_at", "2015-11-07 21:40:59.175448"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:59.181206"], ["updated_at", "2015-11-07 21:40:59.181206"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:59.183674"], ["updated_at", "2015-11-07 21:40:59.183674"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:40:59.189256"], ["updated_at", "2015-11-07 21:40:59.189256"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:40:59.192809"], ["updated_at", "2015-11-07 21:40:59.192809"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:40:59.204434"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:40:59.206780"], ["updated_at", "2015-11-07 21:40:59.206780"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:40:59.681726"], ["updated_at", "2015-11-07 21:40:59.681726"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:59.682811"], ["updated_at", "2015-11-07 21:40:59.682811"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:59.686666"], ["updated_at", "2015-11-07 21:40:59.686666"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:40:59.687976"], ["updated_at", "2015-11-07 21:40:59.687976"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:40:59.691814"], ["updated_at", "2015-11-07 21:40:59.691814"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:40:59.692923"], ["updated_at", "2015-11-07 21:40:59.692923"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:40:59.696424"], ["updated_at", "2015-11-07 21:40:59.696424"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:40:59.699486"], ["updated_at", "2015-11-07 21:40:59.699486"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:40:59.700324"], ["updated_at", "2015-11-07 21:40:59.700324"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:40:59.703103"], ["updated_at", "2015-11-07 21:40:59.703103"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:40:59.706305"], ["updated_at", "2015-11-07 21:40:59.706305"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:40:59.707093"], ["updated_at", "2015-11-07 21:40:59.707093"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:40:59.710097"], ["updated_at", "2015-11-07 21:40:59.710097"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:40:59.713215"], ["updated_at", "2015-11-07 21:40:59.713215"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:40:59.714046"], ["updated_at", "2015-11-07 21:40:59.714046"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:40:59.717190"], ["updated_at", "2015-11-07 21:40:59.717190"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:40:59.204434"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:40:59.722798"], ["updated_at", "2015-11-07 21:40:59.722798"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:40:59.723658"], ["updated_at", "2015-11-07 21:40:59.723658"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:40:59.735665"], ["updated_at", "2015-11-07 21:40:59.735665"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:40:59.737421"], ["updated_at", "2015-11-07 21:40:59.737421"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:40:59.738754"], ["updated_at", "2015-11-07 21:40:59.738754"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:40:59.739749"], ["updated_at", "2015-11-07 21:40:59.739749"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:40:59.742710"], ["updated_at", "2015-11-07 21:40:59.742710"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:40:59.744095"], ["updated_at", "2015-11-07 21:40:59.744095"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:40:59.790858"], ["updated_at", "2015-11-07 21:40:59.790858"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:40:59.792790"], ["updated_at", "2015-11-07 21:40:59.792790"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:40:59.796331"], ["updated_at", "2015-11-07 21:40:59.796331"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:40:59.798309"], ["updated_at", "2015-11-07 21:40:59.798309"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.6ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:41:27.852411"], ["updated_at", "2015-11-07 21:41:27.852411"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:27.860097"], ["updated_at", "2015-11-07 21:41:27.860097"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:41:27.877718"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:41:27.881984"], ["updated_at", "2015-11-07 21:41:27.881984"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:27.877718"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:41:27.890197"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:41:27.892642"], ["updated_at", "2015-11-07 21:41:27.892642"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:27.890197"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:27.901219"], ["updated_at", "2015-11-07 21:41:27.901219"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:27.904652"], ["updated_at", "2015-11-07 21:41:27.904652"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:27.910157"], ["updated_at", "2015-11-07 21:41:27.910157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:27.912653"], ["updated_at", "2015-11-07 21:41:27.912653"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:27.917376"], ["updated_at", "2015-11-07 21:41:27.917376"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:27.919519"], ["updated_at", "2015-11-07 21:41:27.919519"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:41:27.933059"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:41:27.936391"], ["updated_at", "2015-11-07 21:41:27.936391"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:41:28.433138"], ["updated_at", "2015-11-07 21:41:28.433138"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:28.434170"], ["updated_at", "2015-11-07 21:41:28.434170"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:28.437645"], ["updated_at", "2015-11-07 21:41:28.437645"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:28.438430"], ["updated_at", "2015-11-07 21:41:28.438430"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:41:28.446423"], ["updated_at", "2015-11-07 21:41:28.446423"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:41:28.447340"], ["updated_at", "2015-11-07 21:41:28.447340"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:41:28.450120"], ["updated_at", "2015-11-07 21:41:28.450120"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:41:28.458462"], ["updated_at", "2015-11-07 21:41:28.458462"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:41:28.459414"], ["updated_at", "2015-11-07 21:41:28.459414"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:41:28.462342"], ["updated_at", "2015-11-07 21:41:28.462342"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:41:28.470248"], ["updated_at", "2015-11-07 21:41:28.470248"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:41:28.471200"], ["updated_at", "2015-11-07 21:41:28.471200"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:41:28.474063"], ["updated_at", "2015-11-07 21:41:28.474063"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:41:28.482880"], ["updated_at", "2015-11-07 21:41:28.482880"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:41:28.483901"], ["updated_at", "2015-11-07 21:41:28.483901"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:41:28.487481"], ["updated_at", "2015-11-07 21:41:28.487481"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:27.933059"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:41:28.492114"], ["updated_at", "2015-11-07 21:41:28.492114"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:41:28.492917"], ["updated_at", "2015-11-07 21:41:28.492917"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:41:28.507390"], ["updated_at", "2015-11-07 21:41:28.507390"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:41:28.510799"], ["updated_at", "2015-11-07 21:41:28.510799"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:41:28.513792"], ["updated_at", "2015-11-07 21:41:28.513792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:41:28.516248"], ["updated_at", "2015-11-07 21:41:28.516248"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:41:28.519189"], ["updated_at", "2015-11-07 21:41:28.519189"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:41:28.520334"], ["updated_at", "2015-11-07 21:41:28.520334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:41:28.612505"], ["updated_at", "2015-11-07 21:41:28.612505"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:41:28.619943"], ["updated_at", "2015-11-07 21:41:28.619943"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:41:28.624026"], ["updated_at", "2015-11-07 21:41:28.624026"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:41:28.626010"], ["updated_at", "2015-11-07 21:41:28.626010"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:41:28.653913"], ["updated_at", "2015-11-07 21:41:28.653913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:28.656775"], ["updated_at", "2015-11-07 21:41:28.656775"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:41:28.662455"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:41:28.664315"], ["updated_at", "2015-11-07 21:41:28.664315"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:28.662455"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:41:28.670822"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:41:28.672436"], ["updated_at", "2015-11-07 21:41:28.672436"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:28.670822"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:28.678970"], ["updated_at", "2015-11-07 21:41:28.678970"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:28.682343"], ["updated_at", "2015-11-07 21:41:28.682343"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:28.688297"], ["updated_at", "2015-11-07 21:41:28.688297"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:28.690926"], ["updated_at", "2015-11-07 21:41:28.690926"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:41:28.695774"], ["updated_at", "2015-11-07 21:41:28.695774"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:41:28.698003"], ["updated_at", "2015-11-07 21:41:28.698003"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:41:28.711579"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:41:28.714501"], ["updated_at", "2015-11-07 21:41:28.714501"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:41:29.168419"], ["updated_at", "2015-11-07 21:41:29.168419"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:29.169468"], ["updated_at", "2015-11-07 21:41:29.169468"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:29.172873"], ["updated_at", "2015-11-07 21:41:29.172873"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:41:29.173601"], ["updated_at", "2015-11-07 21:41:29.173601"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:41:29.176479"], ["updated_at", "2015-11-07 21:41:29.176479"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:41:29.177252"], ["updated_at", "2015-11-07 21:41:29.177252"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:41:29.180060"], ["updated_at", "2015-11-07 21:41:29.180060"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:41:29.182794"], ["updated_at", "2015-11-07 21:41:29.182794"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:41:29.183656"], ["updated_at", "2015-11-07 21:41:29.183656"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:41:29.186389"], ["updated_at", "2015-11-07 21:41:29.186389"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:41:29.189142"], ["updated_at", "2015-11-07 21:41:29.189142"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:41:29.189937"], ["updated_at", "2015-11-07 21:41:29.189937"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:41:29.192759"], ["updated_at", "2015-11-07 21:41:29.192759"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:41:29.195739"], ["updated_at", "2015-11-07 21:41:29.195739"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:41:29.196611"], ["updated_at", "2015-11-07 21:41:29.196611"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:41:29.199206"], ["updated_at", "2015-11-07 21:41:29.199206"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:41:28.711579"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:41:29.203616"], ["updated_at", "2015-11-07 21:41:29.203616"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:41:29.204405"], ["updated_at", "2015-11-07 21:41:29.204405"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:41:29.216792"], ["updated_at", "2015-11-07 21:41:29.216792"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:41:29.218352"], ["updated_at", "2015-11-07 21:41:29.218352"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:41:29.219564"], ["updated_at", "2015-11-07 21:41:29.219564"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:41:29.220543"], ["updated_at", "2015-11-07 21:41:29.220543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:41:29.223245"], ["updated_at", "2015-11-07 21:41:29.223245"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:41:29.224377"], ["updated_at", "2015-11-07 21:41:29.224377"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:41:29.268331"], ["updated_at", "2015-11-07 21:41:29.268331"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:41:29.269932"], ["updated_at", "2015-11-07 21:41:29.269932"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:41:29.273990"], ["updated_at", "2015-11-07 21:41:29.273990"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:41:29.276402"], ["updated_at", "2015-11-07 21:41:29.276402"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:42:04.732150"], ["updated_at", "2015-11-07 21:42:04.732150"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:04.739960"], ["updated_at", "2015-11-07 21:42:04.739960"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:42:04.758153"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:42:04.762278"], ["updated_at", "2015-11-07 21:42:04.762278"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:04.758153"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:42:04.769480"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:42:04.771098"], ["updated_at", "2015-11-07 21:42:04.771098"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:04.769480"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:04.777752"], ["updated_at", "2015-11-07 21:42:04.777752"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:04.780309"], ["updated_at", "2015-11-07 21:42:04.780309"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:04.786335"], ["updated_at", "2015-11-07 21:42:04.786335"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:04.788964"], ["updated_at", "2015-11-07 21:42:04.788964"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:04.794019"], ["updated_at", "2015-11-07 21:42:04.794019"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:04.796591"], ["updated_at", "2015-11-07 21:42:04.796591"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:42:04.812625"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:42:04.815206"], ["updated_at", "2015-11-07 21:42:04.815206"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:42:05.286041"], ["updated_at", "2015-11-07 21:42:05.286041"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:05.287048"], ["updated_at", "2015-11-07 21:42:05.287048"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:05.290354"], ["updated_at", "2015-11-07 21:42:05.290354"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:05.291366"], ["updated_at", "2015-11-07 21:42:05.291366"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:42:05.299258"], ["updated_at", "2015-11-07 21:42:05.299258"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:42:05.300170"], ["updated_at", "2015-11-07 21:42:05.300170"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:42:05.302958"], ["updated_at", "2015-11-07 21:42:05.302958"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:42:05.311712"], ["updated_at", "2015-11-07 21:42:05.311712"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:42:05.312893"], ["updated_at", "2015-11-07 21:42:05.312893"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:42:05.315965"], ["updated_at", "2015-11-07 21:42:05.315965"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:42:05.324503"], ["updated_at", "2015-11-07 21:42:05.324503"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:42:05.325567"], ["updated_at", "2015-11-07 21:42:05.325567"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:42:05.328489"], ["updated_at", "2015-11-07 21:42:05.328489"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:42:05.337209"], ["updated_at", "2015-11-07 21:42:05.337209"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:42:05.338175"], ["updated_at", "2015-11-07 21:42:05.338175"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:42:05.341747"], ["updated_at", "2015-11-07 21:42:05.341747"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:04.812625"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:42:05.346221"], ["updated_at", "2015-11-07 21:42:05.346221"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:42:05.347019"], ["updated_at", "2015-11-07 21:42:05.347019"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:42:05.373961"], ["updated_at", "2015-11-07 21:42:05.373961"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:42:05.377174"], ["updated_at", "2015-11-07 21:42:05.377174"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:42:05.380432"], ["updated_at", "2015-11-07 21:42:05.380432"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:42:05.384784"], ["updated_at", "2015-11-07 21:42:05.384784"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:42:05.389121"], ["updated_at", "2015-11-07 21:42:05.389121"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:42:05.391120"], ["updated_at", "2015-11-07 21:42:05.391120"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:42:05.485791"], ["updated_at", "2015-11-07 21:42:05.485791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:42:05.494886"], ["updated_at", "2015-11-07 21:42:05.494886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:42:05.499301"], ["updated_at", "2015-11-07 21:42:05.499301"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:42:05.500999"], ["updated_at", "2015-11-07 21:42:05.500999"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:42:05.529407"], ["updated_at", "2015-11-07 21:42:05.529407"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:05.531847"], ["updated_at", "2015-11-07 21:42:05.531847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:42:05.536974"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:42:05.538673"], ["updated_at", "2015-11-07 21:42:05.538673"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:05.536974"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:42:05.544540"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:42:05.546124"], ["updated_at", "2015-11-07 21:42:05.546124"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:05.544540"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:05.552376"], ["updated_at", "2015-11-07 21:42:05.552376"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:05.554582"], ["updated_at", "2015-11-07 21:42:05.554582"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:05.558938"], ["updated_at", "2015-11-07 21:42:05.558938"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:05.561018"], ["updated_at", "2015-11-07 21:42:05.561018"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:42:05.566864"], ["updated_at", "2015-11-07 21:42:05.566864"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:42:05.569302"], ["updated_at", "2015-11-07 21:42:05.569302"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:42:05.579215"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:42:05.581521"], ["updated_at", "2015-11-07 21:42:05.581521"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:42:06.057968"], ["updated_at", "2015-11-07 21:42:06.057968"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:06.058884"], ["updated_at", "2015-11-07 21:42:06.058884"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:06.061945"], ["updated_at", "2015-11-07 21:42:06.061945"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:42:06.062790"], ["updated_at", "2015-11-07 21:42:06.062790"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:42:06.065726"], ["updated_at", "2015-11-07 21:42:06.065726"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:42:06.066560"], ["updated_at", "2015-11-07 21:42:06.066560"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:42:06.069376"], ["updated_at", "2015-11-07 21:42:06.069376"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:42:06.072856"], ["updated_at", "2015-11-07 21:42:06.072856"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:42:06.073782"], ["updated_at", "2015-11-07 21:42:06.073782"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:42:06.078376"], ["updated_at", "2015-11-07 21:42:06.078376"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:42:06.082270"], ["updated_at", "2015-11-07 21:42:06.082270"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:42:06.083392"], ["updated_at", "2015-11-07 21:42:06.083392"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:42:06.086598"], ["updated_at", "2015-11-07 21:42:06.086598"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:42:06.089465"], ["updated_at", "2015-11-07 21:42:06.089465"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:42:06.090325"], ["updated_at", "2015-11-07 21:42:06.090325"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:42:06.093031"], ["updated_at", "2015-11-07 21:42:06.093031"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:42:05.579215"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:42:06.097598"], ["updated_at", "2015-11-07 21:42:06.097598"]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:42:06.098360"], ["updated_at", "2015-11-07 21:42:06.098360"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:42:06.121566"], ["updated_at", "2015-11-07 21:42:06.121566"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:42:06.123149"], ["updated_at", "2015-11-07 21:42:06.123149"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:42:06.124368"], ["updated_at", "2015-11-07 21:42:06.124368"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:42:06.125327"], ["updated_at", "2015-11-07 21:42:06.125327"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:42:06.128911"], ["updated_at", "2015-11-07 21:42:06.128911"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:42:06.130942"], ["updated_at", "2015-11-07 21:42:06.130942"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:42:06.179043"], ["updated_at", "2015-11-07 21:42:06.179043"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:42:06.180759"], ["updated_at", "2015-11-07 21:42:06.180759"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:42:06.184817"], ["updated_at", "2015-11-07 21:42:06.184817"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:42:06.187315"], ["updated_at", "2015-11-07 21:42:06.187315"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.6ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:43:22.073571"], ["updated_at", "2015-11-07 21:43:22.073571"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.081586"], ["updated_at", "2015-11-07 21:43:22.081586"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:43:22.099231"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:43:22.104065"], ["updated_at", "2015-11-07 21:43:22.104065"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:22.099231"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:43:22.110728"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:43:22.112444"], ["updated_at", "2015-11-07 21:43:22.112444"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:22.110728"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.119838"], ["updated_at", "2015-11-07 21:43:22.119838"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.123502"], ["updated_at", "2015-11-07 21:43:22.123502"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.129214"], ["updated_at", "2015-11-07 21:43:22.129214"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.131678"], ["updated_at", "2015-11-07 21:43:22.131678"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.137171"], ["updated_at", "2015-11-07 21:43:22.137171"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.140749"], ["updated_at", "2015-11-07 21:43:22.140749"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:43:22.153717"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:43:22.156225"], ["updated_at", "2015-11-07 21:43:22.156225"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:43:22.702859"], ["updated_at", "2015-11-07 21:43:22.702859"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:22.703972"], ["updated_at", "2015-11-07 21:43:22.703972"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:22.707663"], ["updated_at", "2015-11-07 21:43:22.707663"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:22.708586"], ["updated_at", "2015-11-07 21:43:22.708586"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:43:22.717199"], ["updated_at", "2015-11-07 21:43:22.717199"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:43:22.718194"], ["updated_at", "2015-11-07 21:43:22.718194"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:43:22.721078"], ["updated_at", "2015-11-07 21:43:22.721078"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:43:22.729674"], ["updated_at", "2015-11-07 21:43:22.729674"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:43:22.730699"], ["updated_at", "2015-11-07 21:43:22.730699"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:43:22.733779"], ["updated_at", "2015-11-07 21:43:22.733779"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:43:22.741669"], ["updated_at", "2015-11-07 21:43:22.741669"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:43:22.742602"], ["updated_at", "2015-11-07 21:43:22.742602"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:43:22.745550"], ["updated_at", "2015-11-07 21:43:22.745550"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:43:22.754062"], ["updated_at", "2015-11-07 21:43:22.754062"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:43:22.755049"], ["updated_at", "2015-11-07 21:43:22.755049"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:43:22.758963"], ["updated_at", "2015-11-07 21:43:22.758963"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:22.153717"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:43:22.763476"], ["updated_at", "2015-11-07 21:43:22.763476"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:43:22.810766"], ["updated_at", "2015-11-07 21:43:22.810766"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:43:22.847400"], ["updated_at", "2015-11-07 21:43:22.847400"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:43:22.850062"], ["updated_at", "2015-11-07 21:43:22.850062"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:43:22.852396"], ["updated_at", "2015-11-07 21:43:22.852396"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:43:22.855543"], ["updated_at", "2015-11-07 21:43:22.855543"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:43:22.856712"], ["updated_at", "2015-11-07 21:43:22.856712"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:43:22.914677"], ["updated_at", "2015-11-07 21:43:22.914677"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:43:22.921828"], ["updated_at", "2015-11-07 21:43:22.921828"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:43:22.925994"], ["updated_at", "2015-11-07 21:43:22.925994"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:43:22.928219"], ["updated_at", "2015-11-07 21:43:22.928219"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:43:22.957065"], ["updated_at", "2015-11-07 21:43:22.957065"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.959720"], ["updated_at", "2015-11-07 21:43:22.959720"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:43:22.964604"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:43:22.966430"], ["updated_at", "2015-11-07 21:43:22.966430"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:22.964604"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:43:22.972275"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:43:22.973814"], ["updated_at", "2015-11-07 21:43:22.973814"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:22.972275"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.981417"], ["updated_at", "2015-11-07 21:43:22.981417"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.984954"], ["updated_at", "2015-11-07 21:43:22.984954"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.990637"], ["updated_at", "2015-11-07 21:43:22.990637"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:22.993147"], ["updated_at", "2015-11-07 21:43:22.993147"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:43:22.998139"], ["updated_at", "2015-11-07 21:43:22.998139"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:43:23.001286"], ["updated_at", "2015-11-07 21:43:23.001286"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:43:23.014018"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:43:23.016906"], ["updated_at", "2015-11-07 21:43:23.016906"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:43:23.472597"], ["updated_at", "2015-11-07 21:43:23.472597"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:23.473680"], ["updated_at", "2015-11-07 21:43:23.473680"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:23.476981"], ["updated_at", "2015-11-07 21:43:23.476981"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:43:23.477754"], ["updated_at", "2015-11-07 21:43:23.477754"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:43:23.480465"], ["updated_at", "2015-11-07 21:43:23.480465"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:43:23.481305"], ["updated_at", "2015-11-07 21:43:23.481305"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:43:23.484503"], ["updated_at", "2015-11-07 21:43:23.484503"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:43:23.487642"], ["updated_at", "2015-11-07 21:43:23.487642"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:43:23.488491"], ["updated_at", "2015-11-07 21:43:23.488491"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:43:23.491311"], ["updated_at", "2015-11-07 21:43:23.491311"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:43:23.495062"], ["updated_at", "2015-11-07 21:43:23.495062"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:43:23.495874"], ["updated_at", "2015-11-07 21:43:23.495874"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:43:23.498430"], ["updated_at", "2015-11-07 21:43:23.498430"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:43:23.501426"], ["updated_at", "2015-11-07 21:43:23.501426"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:43:23.502384"], ["updated_at", "2015-11-07 21:43:23.502384"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:43:23.505191"], ["updated_at", "2015-11-07 21:43:23.505191"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:43:23.014018"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:43:23.510671"], ["updated_at", "2015-11-07 21:43:23.510671"]]  (0.3ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:43:23.538517"], ["updated_at", "2015-11-07 21:43:23.538517"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:43:23.540058"], ["updated_at", "2015-11-07 21:43:23.540058"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:43:23.541261"], ["updated_at", "2015-11-07 21:43:23.541261"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:43:23.542230"], ["updated_at", "2015-11-07 21:43:23.542230"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:43:23.545804"], ["updated_at", "2015-11-07 21:43:23.545804"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:43:23.547940"], ["updated_at", "2015-11-07 21:43:23.547940"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:43:23.599155"], ["updated_at", "2015-11-07 21:43:23.599155"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:43:23.600806"], ["updated_at", "2015-11-07 21:43:23.600806"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:43:23.603992"], ["updated_at", "2015-11-07 21:43:23.603992"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:43:23.605515"], ["updated_at", "2015-11-07 21:43:23.605515"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "mgca_address_translations";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.9ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:55:35.910060"], ["updated_at", "2015-11-07 21:55:35.910060"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:35.917925"], ["updated_at", "2015-11-07 21:55:35.917925"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:55:35.937340"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:55:35.941922"], ["updated_at", "2015-11-07 21:55:35.941922"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:35.937340"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:55:35.948870"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:55:35.950446"], ["updated_at", "2015-11-07 21:55:35.950446"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:35.948870"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:35.956729"], ["updated_at", "2015-11-07 21:55:35.956729"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:35.960258"], ["updated_at", "2015-11-07 21:55:35.960258"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:35.966290"], ["updated_at", "2015-11-07 21:55:35.966290"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:35.969819"], ["updated_at", "2015-11-07 21:55:35.969819"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:35.976448"], ["updated_at", "2015-11-07 21:55:35.976448"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:35.980442"], ["updated_at", "2015-11-07 21:55:35.980442"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:55:35.994256"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:55:35.996835"], ["updated_at", "2015-11-07 21:55:35.996835"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:55:36.574649"], ["updated_at", "2015-11-07 21:55:36.574649"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:36.575811"], ["updated_at", "2015-11-07 21:55:36.575811"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:36.580349"], ["updated_at", "2015-11-07 21:55:36.580349"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:36.581074"], ["updated_at", "2015-11-07 21:55:36.581074"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:55:36.589815"], ["updated_at", "2015-11-07 21:55:36.589815"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:55:36.590860"], ["updated_at", "2015-11-07 21:55:36.590860"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:55:36.593700"], ["updated_at", "2015-11-07 21:55:36.593700"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:55:36.601812"], ["updated_at", "2015-11-07 21:55:36.601812"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:55:36.602786"], ["updated_at", "2015-11-07 21:55:36.602786"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:55:36.605864"], ["updated_at", "2015-11-07 21:55:36.605864"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:55:36.614523"], ["updated_at", "2015-11-07 21:55:36.614523"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:55:36.615633"], ["updated_at", "2015-11-07 21:55:36.615633"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:55:36.618593"], ["updated_at", "2015-11-07 21:55:36.618593"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:55:36.627355"], ["updated_at", "2015-11-07 21:55:36.627355"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:55:36.628365"], ["updated_at", "2015-11-07 21:55:36.628365"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:55:36.632030"], ["updated_at", "2015-11-07 21:55:36.632030"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:35.994256"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:55:36.636848"], ["updated_at", "2015-11-07 21:55:36.636848"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:55:36.680882"], ["updated_at", "2015-11-07 21:55:36.680882"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:55:36.718128"], ["updated_at", "2015-11-07 21:55:36.718128"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:55:36.720732"], ["updated_at", "2015-11-07 21:55:36.720732"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:55:36.722935"], ["updated_at", "2015-11-07 21:55:36.722935"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:55:36.727233"], ["updated_at", "2015-11-07 21:55:36.727233"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:55:36.729183"], ["updated_at", "2015-11-07 21:55:36.729183"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:55:36.788346"], ["updated_at", "2015-11-07 21:55:36.788346"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:55:36.795108"], ["updated_at", "2015-11-07 21:55:36.795108"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:55:36.799129"], ["updated_at", "2015-11-07 21:55:36.799129"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:55:36.801315"], ["updated_at", "2015-11-07 21:55:36.801315"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:55:36.832728"], ["updated_at", "2015-11-07 21:55:36.832728"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:36.835426"], ["updated_at", "2015-11-07 21:55:36.835426"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:55:36.840495"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:55:36.842344"], ["updated_at", "2015-11-07 21:55:36.842344"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:36.840495"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:55:36.851586"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:55:36.853718"], ["updated_at", "2015-11-07 21:55:36.853718"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:36.851586"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:36.861426"], ["updated_at", "2015-11-07 21:55:36.861426"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:36.865247"], ["updated_at", "2015-11-07 21:55:36.865247"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:36.873164"], ["updated_at", "2015-11-07 21:55:36.873164"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:36.877020"], ["updated_at", "2015-11-07 21:55:36.877020"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:55:36.884549"], ["updated_at", "2015-11-07 21:55:36.884549"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:55:36.887394"], ["updated_at", "2015-11-07 21:55:36.887394"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:55:36.900233"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:55:36.903746"], ["updated_at", "2015-11-07 21:55:36.903746"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:55:37.423419"], ["updated_at", "2015-11-07 21:55:37.423419"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:37.424494"], ["updated_at", "2015-11-07 21:55:37.424494"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:37.428085"], ["updated_at", "2015-11-07 21:55:37.428085"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:55:37.428906"], ["updated_at", "2015-11-07 21:55:37.428906"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:55:37.431884"], ["updated_at", "2015-11-07 21:55:37.431884"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:55:37.432714"], ["updated_at", "2015-11-07 21:55:37.432714"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:55:37.435647"], ["updated_at", "2015-11-07 21:55:37.435647"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:55:37.439123"], ["updated_at", "2015-11-07 21:55:37.439123"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:55:37.440216"], ["updated_at", "2015-11-07 21:55:37.440216"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:55:37.443310"], ["updated_at", "2015-11-07 21:55:37.443310"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:55:37.446687"], ["updated_at", "2015-11-07 21:55:37.446687"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:55:37.447660"], ["updated_at", "2015-11-07 21:55:37.447660"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:55:37.450921"], ["updated_at", "2015-11-07 21:55:37.450921"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:55:37.453928"], ["updated_at", "2015-11-07 21:55:37.453928"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:55:37.454819"], ["updated_at", "2015-11-07 21:55:37.454819"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:55:37.457736"], ["updated_at", "2015-11-07 21:55:37.457736"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:55:36.900233"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:55:37.464122"], ["updated_at", "2015-11-07 21:55:37.464122"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:55:37.493057"], ["updated_at", "2015-11-07 21:55:37.493057"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:55:37.494691"], ["updated_at", "2015-11-07 21:55:37.494691"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:55:37.496026"], ["updated_at", "2015-11-07 21:55:37.496026"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:55:37.497007"], ["updated_at", "2015-11-07 21:55:37.497007"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:55:37.499637"], ["updated_at", "2015-11-07 21:55:37.499637"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:55:37.501302"], ["updated_at", "2015-11-07 21:55:37.501302"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:55:37.549293"], ["updated_at", "2015-11-07 21:55:37.549293"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:55:37.551106"], ["updated_at", "2015-11-07 21:55:37.551106"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:55:37.554366"], ["updated_at", "2015-11-07 21:55:37.554366"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:55:37.555877"], ["updated_at", "2015-11-07 21:55:37.555877"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:57:20.209319"], ["updated_at", "2015-11-07 21:57:20.209319"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:20.217823"], ["updated_at", "2015-11-07 21:57:20.217823"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:57:20.237140"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:57:20.241658"], ["updated_at", "2015-11-07 21:57:20.241658"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:20.237140"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:57:20.248559"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:57:20.250234"], ["updated_at", "2015-11-07 21:57:20.250234"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:20.248559"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:20.257969"], ["updated_at", "2015-11-07 21:57:20.257969"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:20.260942"], ["updated_at", "2015-11-07 21:57:20.260942"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:20.266694"], ["updated_at", "2015-11-07 21:57:20.266694"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:20.269197"], ["updated_at", "2015-11-07 21:57:20.269197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:20.274270"], ["updated_at", "2015-11-07 21:57:20.274270"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:20.277174"], ["updated_at", "2015-11-07 21:57:20.277174"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:57:20.290457"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:57:20.293072"], ["updated_at", "2015-11-07 21:57:20.293072"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:57:21.235397"], ["updated_at", "2015-11-07 21:57:21.235397"]] SQL (0.2ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:21.236498"], ["updated_at", "2015-11-07 21:57:21.236498"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:21.239914"], ["updated_at", "2015-11-07 21:57:21.239914"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:21.240663"], ["updated_at", "2015-11-07 21:57:21.240663"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:57:21.248374"], ["updated_at", "2015-11-07 21:57:21.248374"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:57:21.249364"], ["updated_at", "2015-11-07 21:57:21.249364"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:57:21.252278"], ["updated_at", "2015-11-07 21:57:21.252278"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:57:21.260923"], ["updated_at", "2015-11-07 21:57:21.260923"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:57:21.262082"], ["updated_at", "2015-11-07 21:57:21.262082"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:57:21.265031"], ["updated_at", "2015-11-07 21:57:21.265031"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:57:21.273180"], ["updated_at", "2015-11-07 21:57:21.273180"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:57:21.274183"], ["updated_at", "2015-11-07 21:57:21.274183"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:57:21.276994"], ["updated_at", "2015-11-07 21:57:21.276994"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:57:21.284915"], ["updated_at", "2015-11-07 21:57:21.284915"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:57:21.285904"], ["updated_at", "2015-11-07 21:57:21.285904"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:57:21.289801"], ["updated_at", "2015-11-07 21:57:21.289801"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:20.290457"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:57:21.294339"], ["updated_at", "2015-11-07 21:57:21.294339"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:57:21.338307"], ["updated_at", "2015-11-07 21:57:21.338307"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:57:21.377845"], ["updated_at", "2015-11-07 21:57:21.377845"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:57:21.380491"], ["updated_at", "2015-11-07 21:57:21.380491"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:57:21.382757"], ["updated_at", "2015-11-07 21:57:21.382757"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:57:21.386546"], ["updated_at", "2015-11-07 21:57:21.386546"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:57:21.387891"], ["updated_at", "2015-11-07 21:57:21.387891"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:57:21.444850"], ["updated_at", "2015-11-07 21:57:21.444850"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:57:21.452373"], ["updated_at", "2015-11-07 21:57:21.452373"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:57:21.457110"], ["updated_at", "2015-11-07 21:57:21.457110"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:57:21.459740"], ["updated_at", "2015-11-07 21:57:21.459740"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 21:57:21.489602"], ["updated_at", "2015-11-07 21:57:21.489602"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:21.492425"], ["updated_at", "2015-11-07 21:57:21.492425"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 21:57:21.496964"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 21:57:21.498740"], ["updated_at", "2015-11-07 21:57:21.498740"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:21.496964"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 21:57:21.506139"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 21:57:21.508245"], ["updated_at", "2015-11-07 21:57:21.508245"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:21.506139"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:21.517211"], ["updated_at", "2015-11-07 21:57:21.517211"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:21.520428"], ["updated_at", "2015-11-07 21:57:21.520428"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:21.526471"], ["updated_at", "2015-11-07 21:57:21.526471"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:21.529034"], ["updated_at", "2015-11-07 21:57:21.529034"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 21:57:21.533545"], ["updated_at", "2015-11-07 21:57:21.533545"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 21:57:21.535603"], ["updated_at", "2015-11-07 21:57:21.535603"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 21:57:21.546445"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 21:57:21.549017"], ["updated_at", "2015-11-07 21:57:21.549017"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 21:57:22.012455"], ["updated_at", "2015-11-07 21:57:22.012455"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:22.013682"], ["updated_at", "2015-11-07 21:57:22.013682"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:22.017306"], ["updated_at", "2015-11-07 21:57:22.017306"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 21:57:22.018146"], ["updated_at", "2015-11-07 21:57:22.018146"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 21:57:22.021222"], ["updated_at", "2015-11-07 21:57:22.021222"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:57:22.022036"], ["updated_at", "2015-11-07 21:57:22.022036"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 21:57:22.025102"], ["updated_at", "2015-11-07 21:57:22.025102"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 21:57:22.028680"], ["updated_at", "2015-11-07 21:57:22.028680"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:57:22.029529"], ["updated_at", "2015-11-07 21:57:22.029529"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 21:57:22.032389"], ["updated_at", "2015-11-07 21:57:22.032389"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 21:57:22.035297"], ["updated_at", "2015-11-07 21:57:22.035297"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:57:22.036346"], ["updated_at", "2015-11-07 21:57:22.036346"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 21:57:22.039281"], ["updated_at", "2015-11-07 21:57:22.039281"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 21:57:22.042191"], ["updated_at", "2015-11-07 21:57:22.042191"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:57:22.043028"], ["updated_at", "2015-11-07 21:57:22.043028"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 21:57:22.045914"], ["updated_at", "2015-11-07 21:57:22.045914"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 21:57:21.546445"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 21:57:22.050800"], ["updated_at", "2015-11-07 21:57:22.050800"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 21:57:22.076956"], ["updated_at", "2015-11-07 21:57:22.076956"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 21:57:22.078480"], ["updated_at", "2015-11-07 21:57:22.078480"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 21:57:22.079671"], ["updated_at", "2015-11-07 21:57:22.079671"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 21:57:22.080655"], ["updated_at", "2015-11-07 21:57:22.080655"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 21:57:22.083665"], ["updated_at", "2015-11-07 21:57:22.083665"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 21:57:22.085094"], ["updated_at", "2015-11-07 21:57:22.085094"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:57:22.135678"], ["updated_at", "2015-11-07 21:57:22.135678"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:57:22.137490"], ["updated_at", "2015-11-07 21:57:22.137490"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 21:57:22.141309"], ["updated_at", "2015-11-07 21:57:22.141309"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 21:57:22.143976"], ["updated_at", "2015-11-07 21:57:22.143976"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) CREATE TABLE "mgca_address_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_address_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "street_name" varchar)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_mgca_address_translations_on_locale" ON "mgca_address_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_address_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_address_translations_on_locale' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_address_translations_on_mgca_address_id" ON "mgca_address_translations" ("mgca_address_id")  (0.9ms) CREATE TABLE "mgca_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "fetch_address" text, "street_default" varchar, "street_number" varchar, "street_additional" varchar, "zipcode" integer, "longitude" float, "latitude" float, "subdistrict_id" integer, "district_id" integer, "city_id" integer, "state_id" integer, "country_id" integer, "owner_id" integer, "owner_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) CREATE INDEX "index_mgca_addresses_on_city_id" ON "mgca_addresses" ("city_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_addresses_on_country_id" ON "mgca_addresses" ("country_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_addresses_on_district_id" ON "mgca_addresses" ("district_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_district_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_district_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'   (0.7ms) CREATE INDEX "index_mgca_addresses_on_state_id" ON "mgca_addresses" ("state_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_state_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_state_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_district_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_district_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_addresses_on_subdistrict_id" ON "mgca_addresses" ("subdistrict_id")  (0.8ms) CREATE TABLE "mgca_addressibles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default" boolean, "owner_id" integer, "owner_type" varchar, "address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) CREATE INDEX "index_mgca_addressibles_on_address_id" ON "mgca_addressibles" ("address_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addressibles_on_address_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addressibles_on_address_id' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_addressibles_on_owner_type_and_owner_id" ON "mgca_addressibles" ("owner_type", "owner_id")  (0.7ms) CREATE TABLE "mgca_cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "state_id" integer, "country_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_mgca_cities_on_country_id" ON "mgca_cities" ("country_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_cities_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_cities_on_country_id' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_cities_on_state_id" ON "mgca_cities" ("state_id")  (0.7ms) CREATE TABLE "mgca_city_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_city_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)  (0.7ms) CREATE INDEX "index_mgca_city_translations_on_locale" ON "mgca_city_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_city_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_city_translations_on_locale' AND type='index'  (0.7ms) CREATE INDEX "index_mgca_city_translations_on_mgca_city_id" ON "mgca_city_translations" ("mgca_city_id")  (0.9ms) CREATE TABLE "mgca_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "iso_code" varchar(2), "dial_code" varchar, "fsm_state" varchar DEFAULT 'new', "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "mgca_country_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_country_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)   (0.8ms) CREATE INDEX "index_mgca_country_translations_on_locale" ON "mgca_country_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_country_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_country_translations_on_locale' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_country_translations_on_mgca_country_id" ON "mgca_country_translations" ("mgca_country_id")  (0.7ms) CREATE TABLE "mgca_district_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_district_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)   (0.7ms) CREATE INDEX "index_mgca_district_translations_on_locale" ON "mgca_district_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_district_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_district_translations_on_locale' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_district_translations_on_mgca_district_id" ON "mgca_district_translations" ("mgca_district_id")  (0.9ms) CREATE TABLE "mgca_districts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "city_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_mgca_districts_on_city_id" ON "mgca_districts" ("city_id")  (0.8ms) CREATE TABLE "mgca_state_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_state_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)   (0.8ms) CREATE INDEX "index_mgca_state_translations_on_locale" ON "mgca_state_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_state_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_state_translations_on_locale' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_state_translations_on_mgca_state_id" ON "mgca_state_translations" ("mgca_state_id")  (0.8ms) CREATE TABLE "mgca_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "country_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_mgca_states_on_country_id" ON "mgca_states" ("country_id")  (0.8ms) CREATE TABLE "mgca_subdistrict_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_subdistrict_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)   (0.7ms) CREATE INDEX "index_mgca_subdistrict_translations_on_locale" ON "mgca_subdistrict_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_subdistrict_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_subdistrict_translations_on_locale' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_subdistrict_translations_on_mgca_subdistrict_id" ON "mgca_subdistrict_translations" ("mgca_subdistrict_id")  (0.9ms) CREATE TABLE "mgca_subdistricts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "district_id" integer, "city_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_mgca_subdistricts_on_city_id" ON "mgca_subdistricts" ("city_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_subdistricts_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_subdistricts_on_city_id' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_subdistricts_on_district_id" ON "mgca_subdistricts" ("district_id")  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151107221200')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213105831')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225220219') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.7ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.6ms) DELETE FROM "mgca_countries";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:13:24.951683"], ["updated_at", "2015-11-07 22:13:24.951683"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:24.960678"], ["updated_at", "2015-11-07 22:13:24.960678"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:13:24.980192"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:13:24.985286"], ["updated_at", "2015-11-07 22:13:24.985286"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:24.980192"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:13:24.992511"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:13:24.994085"], ["updated_at", "2015-11-07 22:13:24.994085"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:24.992511"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.000676"], ["updated_at", "2015-11-07 22:13:25.000676"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.004038"], ["updated_at", "2015-11-07 22:13:25.004038"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.010173"], ["updated_at", "2015-11-07 22:13:25.010173"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.012870"], ["updated_at", "2015-11-07 22:13:25.012870"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.018683"], ["updated_at", "2015-11-07 22:13:25.018683"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.022021"], ["updated_at", "2015-11-07 22:13:25.022021"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:13:25.035741"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:13:25.039066"], ["updated_at", "2015-11-07 22:13:25.039066"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:13:25.621912"], ["updated_at", "2015-11-07 22:13:25.621912"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:25.622890"], ["updated_at", "2015-11-07 22:13:25.622890"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:25.626358"], ["updated_at", "2015-11-07 22:13:25.626358"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:25.627312"], ["updated_at", "2015-11-07 22:13:25.627312"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:13:25.635934"], ["updated_at", "2015-11-07 22:13:25.635934"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:13:25.636857"], ["updated_at", "2015-11-07 22:13:25.636857"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:13:25.639845"], ["updated_at", "2015-11-07 22:13:25.639845"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:13:25.648943"], ["updated_at", "2015-11-07 22:13:25.648943"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:13:25.649989"], ["updated_at", "2015-11-07 22:13:25.649989"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:13:25.653389"], ["updated_at", "2015-11-07 22:13:25.653389"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.2ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:13:25.661544"], ["updated_at", "2015-11-07 22:13:25.661544"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:13:25.662831"], ["updated_at", "2015-11-07 22:13:25.662831"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:13:25.666064"], ["updated_at", "2015-11-07 22:13:25.666064"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:13:25.674247"], ["updated_at", "2015-11-07 22:13:25.674247"]] SQL (0.2ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:13:25.675540"], ["updated_at", "2015-11-07 22:13:25.675540"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:13:25.681879"], ["updated_at", "2015-11-07 22:13:25.681879"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:25.035741"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:13:25.687631"], ["updated_at", "2015-11-07 22:13:25.687631"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:13:25.731057"], ["updated_at", "2015-11-07 22:13:25.731057"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:13:25.767873"], ["updated_at", "2015-11-07 22:13:25.767873"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:13:25.770779"], ["updated_at", "2015-11-07 22:13:25.770779"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:13:25.773030"], ["updated_at", "2015-11-07 22:13:25.773030"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:13:25.776432"], ["updated_at", "2015-11-07 22:13:25.776432"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:13:25.777711"], ["updated_at", "2015-11-07 22:13:25.777711"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:13:25.834985"], ["updated_at", "2015-11-07 22:13:25.834985"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:13:25.841862"], ["updated_at", "2015-11-07 22:13:25.841862"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:13:25.845756"], ["updated_at", "2015-11-07 22:13:25.845756"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:13:25.847993"], ["updated_at", "2015-11-07 22:13:25.847993"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:13:25.878374"], ["updated_at", "2015-11-07 22:13:25.878374"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.880808"], ["updated_at", "2015-11-07 22:13:25.880808"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:13:25.885674"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:13:25.887518"], ["updated_at", "2015-11-07 22:13:25.887518"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:25.885674"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:13:25.894039"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:13:25.896257"], ["updated_at", "2015-11-07 22:13:25.896257"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:25.894039"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.905089"], ["updated_at", "2015-11-07 22:13:25.905089"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.908516"], ["updated_at", "2015-11-07 22:13:25.908516"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.914414"], ["updated_at", "2015-11-07 22:13:25.914414"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.917046"], ["updated_at", "2015-11-07 22:13:25.917046"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:13:25.921882"], ["updated_at", "2015-11-07 22:13:25.921882"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:13:25.924095"], ["updated_at", "2015-11-07 22:13:25.924095"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:13:25.934253"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:13:25.936792"], ["updated_at", "2015-11-07 22:13:25.936792"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:13:26.437206"], ["updated_at", "2015-11-07 22:13:26.437206"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:26.438319"], ["updated_at", "2015-11-07 22:13:26.438319"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:26.441934"], ["updated_at", "2015-11-07 22:13:26.441934"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:13:26.442771"], ["updated_at", "2015-11-07 22:13:26.442771"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:13:26.445643"], ["updated_at", "2015-11-07 22:13:26.445643"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:13:26.446545"], ["updated_at", "2015-11-07 22:13:26.446545"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:13:26.449512"], ["updated_at", "2015-11-07 22:13:26.449512"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:13:26.452525"], ["updated_at", "2015-11-07 22:13:26.452525"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:13:26.453512"], ["updated_at", "2015-11-07 22:13:26.453512"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:13:26.456532"], ["updated_at", "2015-11-07 22:13:26.456532"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:13:26.459694"], ["updated_at", "2015-11-07 22:13:26.459694"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:13:26.460534"], ["updated_at", "2015-11-07 22:13:26.460534"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:13:26.463189"], ["updated_at", "2015-11-07 22:13:26.463189"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:13:26.466527"], ["updated_at", "2015-11-07 22:13:26.466527"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:13:26.467389"], ["updated_at", "2015-11-07 22:13:26.467389"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:13:26.470252"], ["updated_at", "2015-11-07 22:13:26.470252"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:13:25.934253"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:13:26.475002"], ["updated_at", "2015-11-07 22:13:26.475002"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:13:26.500532"], ["updated_at", "2015-11-07 22:13:26.500532"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:13:26.502051"], ["updated_at", "2015-11-07 22:13:26.502051"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:13:26.503360"], ["updated_at", "2015-11-07 22:13:26.503360"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:13:26.504421"], ["updated_at", "2015-11-07 22:13:26.504421"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:13:26.507983"], ["updated_at", "2015-11-07 22:13:26.507983"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:13:26.510221"], ["updated_at", "2015-11-07 22:13:26.510221"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:13:26.558154"], ["updated_at", "2015-11-07 22:13:26.558154"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:13:26.560045"], ["updated_at", "2015-11-07 22:13:26.560045"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:13:26.563917"], ["updated_at", "2015-11-07 22:13:26.563917"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:13:26.566419"], ["updated_at", "2015-11-07 22:13:26.566419"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:15:30.942525"], ["updated_at", "2015-11-07 22:15:30.942525"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:30.950181"], ["updated_at", "2015-11-07 22:15:30.950181"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:15:30.969553"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:15:30.973962"], ["updated_at", "2015-11-07 22:15:30.973962"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:30.969553"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:15:30.981228"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:15:30.982899"], ["updated_at", "2015-11-07 22:15:30.982899"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:30.981228"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:30.989765"], ["updated_at", "2015-11-07 22:15:30.989765"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:30.992268"], ["updated_at", "2015-11-07 22:15:30.992268"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:30.996696"], ["updated_at", "2015-11-07 22:15:30.996696"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:30.998969"], ["updated_at", "2015-11-07 22:15:30.998969"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:31.003996"], ["updated_at", "2015-11-07 22:15:31.003996"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:31.006552"], ["updated_at", "2015-11-07 22:15:31.006552"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:15:31.017997"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:15:31.020345"], ["updated_at", "2015-11-07 22:15:31.020345"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:15:31.496498"], ["updated_at", "2015-11-07 22:15:31.496498"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:31.497461"], ["updated_at", "2015-11-07 22:15:31.497461"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:31.500925"], ["updated_at", "2015-11-07 22:15:31.500925"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:31.501689"], ["updated_at", "2015-11-07 22:15:31.501689"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:15:31.509096"], ["updated_at", "2015-11-07 22:15:31.509096"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:15:31.510005"], ["updated_at", "2015-11-07 22:15:31.510005"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:15:31.512915"], ["updated_at", "2015-11-07 22:15:31.512915"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:15:31.520544"], ["updated_at", "2015-11-07 22:15:31.520544"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:15:31.521490"], ["updated_at", "2015-11-07 22:15:31.521490"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:15:31.524499"], ["updated_at", "2015-11-07 22:15:31.524499"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:15:31.531782"], ["updated_at", "2015-11-07 22:15:31.531782"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:15:31.532695"], ["updated_at", "2015-11-07 22:15:31.532695"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:15:31.535669"], ["updated_at", "2015-11-07 22:15:31.535669"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:15:31.543601"], ["updated_at", "2015-11-07 22:15:31.543601"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:15:31.544567"], ["updated_at", "2015-11-07 22:15:31.544567"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:15:31.548500"], ["updated_at", "2015-11-07 22:15:31.548500"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:31.017997"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:15:31.553080"], ["updated_at", "2015-11-07 22:15:31.553080"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:15:31.631526"], ["updated_at", "2015-11-07 22:15:31.631526"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:15:31.634626"], ["updated_at", "2015-11-07 22:15:31.634626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:15:31.636952"], ["updated_at", "2015-11-07 22:15:31.636952"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:15:31.639213"], ["updated_at", "2015-11-07 22:15:31.639213"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:15:31.642666"], ["updated_at", "2015-11-07 22:15:31.642666"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:15:31.644433"], ["updated_at", "2015-11-07 22:15:31.644433"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:15:31.701093"], ["updated_at", "2015-11-07 22:15:31.701093"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:15:31.708605"], ["updated_at", "2015-11-07 22:15:31.708605"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:15:31.713359"], ["updated_at", "2015-11-07 22:15:31.713359"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:15:31.715902"], ["updated_at", "2015-11-07 22:15:31.715902"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:15:31.745442"], ["updated_at", "2015-11-07 22:15:31.745442"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:31.747906"], ["updated_at", "2015-11-07 22:15:31.747906"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:15:31.752628"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:15:31.754487"], ["updated_at", "2015-11-07 22:15:31.754487"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:31.752628"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:15:31.761242"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:15:31.763540"], ["updated_at", "2015-11-07 22:15:31.763540"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:31.761242"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:31.771276"], ["updated_at", "2015-11-07 22:15:31.771276"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:31.774719"], ["updated_at", "2015-11-07 22:15:31.774719"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:31.781625"], ["updated_at", "2015-11-07 22:15:31.781625"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:31.784587"], ["updated_at", "2015-11-07 22:15:31.784587"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:15:31.790617"], ["updated_at", "2015-11-07 22:15:31.790617"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:15:31.794079"], ["updated_at", "2015-11-07 22:15:31.794079"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:15:31.806985"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:15:31.809290"], ["updated_at", "2015-11-07 22:15:31.809290"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:15:32.295220"], ["updated_at", "2015-11-07 22:15:32.295220"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:32.296292"], ["updated_at", "2015-11-07 22:15:32.296292"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:32.300041"], ["updated_at", "2015-11-07 22:15:32.300041"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:15:32.301095"], ["updated_at", "2015-11-07 22:15:32.301095"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:15:32.304148"], ["updated_at", "2015-11-07 22:15:32.304148"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:15:32.305206"], ["updated_at", "2015-11-07 22:15:32.305206"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:15:32.308347"], ["updated_at", "2015-11-07 22:15:32.308347"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:15:32.311656"], ["updated_at", "2015-11-07 22:15:32.311656"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:15:32.312734"], ["updated_at", "2015-11-07 22:15:32.312734"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:15:32.315894"], ["updated_at", "2015-11-07 22:15:32.315894"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:15:32.318717"], ["updated_at", "2015-11-07 22:15:32.318717"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:15:32.319520"], ["updated_at", "2015-11-07 22:15:32.319520"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:15:32.322248"], ["updated_at", "2015-11-07 22:15:32.322248"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:15:32.325267"], ["updated_at", "2015-11-07 22:15:32.325267"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:15:32.326133"], ["updated_at", "2015-11-07 22:15:32.326133"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:15:32.328787"], ["updated_at", "2015-11-07 22:15:32.328787"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:15:31.806985"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:15:32.333262"], ["updated_at", "2015-11-07 22:15:32.333262"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:15:32.359076"], ["updated_at", "2015-11-07 22:15:32.359076"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:15:32.360627"], ["updated_at", "2015-11-07 22:15:32.360627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:15:32.361885"], ["updated_at", "2015-11-07 22:15:32.361885"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:15:32.362876"], ["updated_at", "2015-11-07 22:15:32.362876"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:15:32.365911"], ["updated_at", "2015-11-07 22:15:32.365911"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:15:32.367784"], ["updated_at", "2015-11-07 22:15:32.367784"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:15:32.417389"], ["updated_at", "2015-11-07 22:15:32.417389"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:15:32.419102"], ["updated_at", "2015-11-07 22:15:32.419102"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:15:32.422318"], ["updated_at", "2015-11-07 22:15:32.422318"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:15:32.423907"], ["updated_at", "2015-11-07 22:15:32.423907"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:23:18.641990"], ["updated_at", "2015-11-07 22:23:18.641990"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:18.650214"], ["updated_at", "2015-11-07 22:23:18.650214"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:23:18.669268"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:23:18.673971"], ["updated_at", "2015-11-07 22:23:18.673971"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:18.669268"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:23:18.681065"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:23:18.682579"], ["updated_at", "2015-11-07 22:23:18.682579"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:18.681065"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:18.689717"], ["updated_at", "2015-11-07 22:23:18.689717"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:18.693362"], ["updated_at", "2015-11-07 22:23:18.693362"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:18.699036"], ["updated_at", "2015-11-07 22:23:18.699036"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:18.701557"], ["updated_at", "2015-11-07 22:23:18.701557"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:18.707429"], ["updated_at", "2015-11-07 22:23:18.707429"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:18.710885"], ["updated_at", "2015-11-07 22:23:18.710885"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:23:18.724478"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:23:18.727103"], ["updated_at", "2015-11-07 22:23:18.727103"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:23:19.287208"], ["updated_at", "2015-11-07 22:23:19.287208"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:19.288163"], ["updated_at", "2015-11-07 22:23:19.288163"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:19.291377"], ["updated_at", "2015-11-07 22:23:19.291377"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:19.292376"], ["updated_at", "2015-11-07 22:23:19.292376"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:23:19.301049"], ["updated_at", "2015-11-07 22:23:19.301049"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:23:19.302088"], ["updated_at", "2015-11-07 22:23:19.302088"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:23:19.305005"], ["updated_at", "2015-11-07 22:23:19.305005"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:23:19.313725"], ["updated_at", "2015-11-07 22:23:19.313725"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:23:19.314691"], ["updated_at", "2015-11-07 22:23:19.314691"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:23:19.318047"], ["updated_at", "2015-11-07 22:23:19.318047"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:23:19.326526"], ["updated_at", "2015-11-07 22:23:19.326526"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:23:19.327518"], ["updated_at", "2015-11-07 22:23:19.327518"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:23:19.330523"], ["updated_at", "2015-11-07 22:23:19.330523"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:23:19.339278"], ["updated_at", "2015-11-07 22:23:19.339278"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:23:19.340308"], ["updated_at", "2015-11-07 22:23:19.340308"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:23:19.344217"], ["updated_at", "2015-11-07 22:23:19.344217"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:18.724478"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:23:19.348575"], ["updated_at", "2015-11-07 22:23:19.348575"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:23:19.389635"], ["updated_at", "2015-11-07 22:23:19.389635"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:23:19.427811"], ["updated_at", "2015-11-07 22:23:19.427811"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:23:19.430476"], ["updated_at", "2015-11-07 22:23:19.430476"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:23:19.432729"], ["updated_at", "2015-11-07 22:23:19.432729"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:23:19.436014"], ["updated_at", "2015-11-07 22:23:19.436014"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:23:19.437216"], ["updated_at", "2015-11-07 22:23:19.437216"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:23:19.494476"], ["updated_at", "2015-11-07 22:23:19.494476"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:23:19.501291"], ["updated_at", "2015-11-07 22:23:19.501291"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:23:19.505319"], ["updated_at", "2015-11-07 22:23:19.505319"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:23:19.507217"], ["updated_at", "2015-11-07 22:23:19.507217"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-07 22:23:19.535734"], ["updated_at", "2015-11-07 22:23:19.535734"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:19.538218"], ["updated_at", "2015-11-07 22:23:19.538218"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-07 22:23:19.542988"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-07 22:23:19.544671"], ["updated_at", "2015-11-07 22:23:19.544671"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:19.542988"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-07 22:23:19.551606"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-07 22:23:19.553939"], ["updated_at", "2015-11-07 22:23:19.553939"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:19.551606"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:19.561687"], ["updated_at", "2015-11-07 22:23:19.561687"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:19.565300"], ["updated_at", "2015-11-07 22:23:19.565300"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:19.571107"], ["updated_at", "2015-11-07 22:23:19.571107"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:19.573806"], ["updated_at", "2015-11-07 22:23:19.573806"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-07 22:23:19.579546"], ["updated_at", "2015-11-07 22:23:19.579546"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-07 22:23:19.582488"], ["updated_at", "2015-11-07 22:23:19.582488"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-07 22:23:19.596384"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-07 22:23:19.599774"], ["updated_at", "2015-11-07 22:23:19.599774"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-07 22:23:20.077444"], ["updated_at", "2015-11-07 22:23:20.077444"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:20.078626"], ["updated_at", "2015-11-07 22:23:20.078626"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:20.082243"], ["updated_at", "2015-11-07 22:23:20.082243"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-07 22:23:20.083159"], ["updated_at", "2015-11-07 22:23:20.083159"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-07 22:23:20.086316"], ["updated_at", "2015-11-07 22:23:20.086316"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:23:20.087153"], ["updated_at", "2015-11-07 22:23:20.087153"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-07 22:23:20.090105"], ["updated_at", "2015-11-07 22:23:20.090105"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-07 22:23:20.093066"], ["updated_at", "2015-11-07 22:23:20.093066"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:23:20.093915"], ["updated_at", "2015-11-07 22:23:20.093915"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-07 22:23:20.096875"], ["updated_at", "2015-11-07 22:23:20.096875"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-07 22:23:20.099793"], ["updated_at", "2015-11-07 22:23:20.099793"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:23:20.100611"], ["updated_at", "2015-11-07 22:23:20.100611"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-07 22:23:20.103292"], ["updated_at", "2015-11-07 22:23:20.103292"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-07 22:23:20.106408"], ["updated_at", "2015-11-07 22:23:20.106408"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:23:20.107384"], ["updated_at", "2015-11-07 22:23:20.107384"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-07 22:23:20.110517"], ["updated_at", "2015-11-07 22:23:20.110517"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-07 22:23:19.596384"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-07 22:23:20.115392"], ["updated_at", "2015-11-07 22:23:20.115392"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-07 22:23:20.140996"], ["updated_at", "2015-11-07 22:23:20.140996"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-07 22:23:20.142562"], ["updated_at", "2015-11-07 22:23:20.142562"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-07 22:23:20.143947"], ["updated_at", "2015-11-07 22:23:20.143947"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-07 22:23:20.144946"], ["updated_at", "2015-11-07 22:23:20.144946"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-07 22:23:20.148505"], ["updated_at", "2015-11-07 22:23:20.148505"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-07 22:23:20.150517"], ["updated_at", "2015-11-07 22:23:20.150517"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:23:20.197729"], ["updated_at", "2015-11-07 22:23:20.197729"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:23:20.199366"], ["updated_at", "2015-11-07 22:23:20.199366"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-07 22:23:20.203099"], ["updated_at", "2015-11-07 22:23:20.203099"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-07 22:23:20.205302"], ["updated_at", "2015-11-07 22:23:20.205302"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.7ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (2.0ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.5ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.6ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.2ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.4ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.1ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.1ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.2ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:30:23.734237"], ["updated_at", "2015-11-11 13:30:23.734237"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:23.747283"], ["updated_at", "2015-11-11 13:30:23.747283"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:30:23.774548"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:30:23.781424"], ["updated_at", "2015-11-11 13:30:23.781424"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:23.774548"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:30:23.792236"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:30:23.794099"], ["updated_at", "2015-11-11 13:30:23.794099"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:23.792236"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:23.801739"], ["updated_at", "2015-11-11 13:30:23.801739"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:23.804458"], ["updated_at", "2015-11-11 13:30:23.804458"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:23.811681"], ["updated_at", "2015-11-11 13:30:23.811681"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:23.814491"], ["updated_at", "2015-11-11 13:30:23.814491"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:23.819675"], ["updated_at", "2015-11-11 13:30:23.819675"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:23.821987"], ["updated_at", "2015-11-11 13:30:23.821987"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:30:23.835921"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:30:23.838487"], ["updated_at", "2015-11-11 13:30:23.838487"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:30:25.029859"], ["updated_at", "2015-11-11 13:30:25.029859"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:25.031070"], ["updated_at", "2015-11-11 13:30:25.031070"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:25.035336"], ["updated_at", "2015-11-11 13:30:25.035336"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:25.036476"], ["updated_at", "2015-11-11 13:30:25.036476"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:30:25.045425"], ["updated_at", "2015-11-11 13:30:25.045425"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:30:25.046451"], ["updated_at", "2015-11-11 13:30:25.046451"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:30:25.049501"], ["updated_at", "2015-11-11 13:30:25.049501"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:30:25.058184"], ["updated_at", "2015-11-11 13:30:25.058184"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:30:25.059423"], ["updated_at", "2015-11-11 13:30:25.059423"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:30:25.062600"], ["updated_at", "2015-11-11 13:30:25.062600"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.2ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:30:25.073742"], ["updated_at", "2015-11-11 13:30:25.073742"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:30:25.075216"], ["updated_at", "2015-11-11 13:30:25.075216"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:30:25.078753"], ["updated_at", "2015-11-11 13:30:25.078753"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:30:25.090572"], ["updated_at", "2015-11-11 13:30:25.090572"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:30:25.091976"], ["updated_at", "2015-11-11 13:30:25.091976"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:30:25.096436"], ["updated_at", "2015-11-11 13:30:25.096436"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:23.835921"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:30:25.102590"], ["updated_at", "2015-11-11 13:30:25.102590"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:30:25.191910"], ["updated_at", "2015-11-11 13:30:25.191910"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:30:25.196400"], ["updated_at", "2015-11-11 13:30:25.196400"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:30:25.199436"], ["updated_at", "2015-11-11 13:30:25.199436"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:30:25.201996"], ["updated_at", "2015-11-11 13:30:25.201996"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:30:25.206126"], ["updated_at", "2015-11-11 13:30:25.206126"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:30:25.207530"], ["updated_at", "2015-11-11 13:30:25.207530"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:30:25.272122"], ["updated_at", "2015-11-11 13:30:25.272122"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:30:25.279527"], ["updated_at", "2015-11-11 13:30:25.279527"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:30:25.283230"], ["updated_at", "2015-11-11 13:30:25.283230"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:30:25.285087"], ["updated_at", "2015-11-11 13:30:25.285087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:30:25.313657"], ["updated_at", "2015-11-11 13:30:25.313657"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:25.316159"], ["updated_at", "2015-11-11 13:30:25.316159"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:30:25.322000"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:30:25.324086"], ["updated_at", "2015-11-11 13:30:25.324086"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:25.322000"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:30:25.330873"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:30:25.332866"], ["updated_at", "2015-11-11 13:30:25.332866"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:25.330873"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:25.340318"], ["updated_at", "2015-11-11 13:30:25.340318"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:25.342845"], ["updated_at", "2015-11-11 13:30:25.342845"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:25.347976"], ["updated_at", "2015-11-11 13:30:25.347976"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:25.350638"], ["updated_at", "2015-11-11 13:30:25.350638"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:30:25.356068"], ["updated_at", "2015-11-11 13:30:25.356068"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:30:25.358450"], ["updated_at", "2015-11-11 13:30:25.358450"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:30:25.371339"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:30:25.374519"], ["updated_at", "2015-11-11 13:30:25.374519"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:30:25.995560"], ["updated_at", "2015-11-11 13:30:25.995560"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:25.996547"], ["updated_at", "2015-11-11 13:30:25.996547"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:26.000690"], ["updated_at", "2015-11-11 13:30:26.000690"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:30:26.001849"], ["updated_at", "2015-11-11 13:30:26.001849"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:30:26.006378"], ["updated_at", "2015-11-11 13:30:26.006378"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:30:26.007521"], ["updated_at", "2015-11-11 13:30:26.007521"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:30:26.010915"], ["updated_at", "2015-11-11 13:30:26.010915"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:30:26.014680"], ["updated_at", "2015-11-11 13:30:26.014680"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:30:26.015676"], ["updated_at", "2015-11-11 13:30:26.015676"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:30:26.018880"], ["updated_at", "2015-11-11 13:30:26.018880"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:30:26.023166"], ["updated_at", "2015-11-11 13:30:26.023166"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:30:26.024245"], ["updated_at", "2015-11-11 13:30:26.024245"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:30:26.027155"], ["updated_at", "2015-11-11 13:30:26.027155"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:30:26.030255"], ["updated_at", "2015-11-11 13:30:26.030255"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:30:26.031184"], ["updated_at", "2015-11-11 13:30:26.031184"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:30:26.034884"], ["updated_at", "2015-11-11 13:30:26.034884"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:30:25.371339"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:30:26.041087"], ["updated_at", "2015-11-11 13:30:26.041087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:30:26.069145"], ["updated_at", "2015-11-11 13:30:26.069145"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:30:26.071139"], ["updated_at", "2015-11-11 13:30:26.071139"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:30:26.072968"], ["updated_at", "2015-11-11 13:30:26.072968"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:30:26.074176"], ["updated_at", "2015-11-11 13:30:26.074176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:30:26.077396"], ["updated_at", "2015-11-11 13:30:26.077396"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:30:26.079000"], ["updated_at", "2015-11-11 13:30:26.079000"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:30:26.129162"], ["updated_at", "2015-11-11 13:30:26.129162"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:30:26.131061"], ["updated_at", "2015-11-11 13:30:26.131061"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:30:26.134305"], ["updated_at", "2015-11-11 13:30:26.134305"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:30:26.136933"], ["updated_at", "2015-11-11 13:30:26.136933"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) CREATE TABLE "companies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.9ms) CREATE TABLE "mgca_address_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_address_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "street_name" varchar)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_mgca_address_translations_on_locale" ON "mgca_address_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_address_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_address_translations_on_locale' AND type='index'   (0.9ms) CREATE INDEX "index_mgca_address_translations_on_mgca_address_id" ON "mgca_address_translations" ("mgca_address_id")  (0.8ms) CREATE TABLE "mgca_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "fetch_address" text, "street_default" varchar, "street_number" varchar, "street_additional" varchar, "zipcode" integer, "longitude" float, "latitude" float, "subdistrict_id" integer, "district_id" integer, "city_id" integer, "state_id" integer, "country_id" integer, "owner_id" integer, "owner_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE INDEX "index_mgca_addresses_on_city_id" ON "mgca_addresses" ("city_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_addresses_on_country_id" ON "mgca_addresses" ("country_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'  (0.7ms) CREATE INDEX "index_mgca_addresses_on_district_id" ON "mgca_addresses" ("district_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_district_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_district_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'  (0.7ms) CREATE INDEX "index_mgca_addresses_on_state_id" ON "mgca_addresses" ("state_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_state_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_state_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_district_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_district_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_country_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addresses_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addresses_on_city_id' AND type='index'   (0.9ms) CREATE INDEX "index_mgca_addresses_on_subdistrict_id" ON "mgca_addresses" ("subdistrict_id")  (0.8ms) CREATE TABLE "mgca_addressibles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default" boolean, "owner_id" integer, "owner_type" varchar, "address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.7ms) CREATE INDEX "index_mgca_addressibles_on_address_id" ON "mgca_addressibles" ("address_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_addressibles_on_address_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_addressibles_on_address_id' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_addressibles_on_owner_type_and_owner_id" ON "mgca_addressibles" ("owner_type", "owner_id")  (0.8ms) CREATE TABLE "mgca_cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "state_id" integer, "country_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_mgca_cities_on_country_id" ON "mgca_cities" ("country_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_cities_on_country_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_cities_on_country_id' AND type='index'   (0.7ms) CREATE INDEX "index_mgca_cities_on_state_id" ON "mgca_cities" ("state_id")  (0.8ms) CREATE TABLE "mgca_city_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_city_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)   (0.8ms) CREATE INDEX "index_mgca_city_translations_on_locale" ON "mgca_city_translations" ("locale")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_mgca_city_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_city_translations_on_locale' AND type='index'   (0.8ms) CREATE INDEX "index_mgca_city_translations_on_mgca_city_id" ON "mgca_city_translations" ("mgca_city_id")  (0.8ms) CREATE TABLE "mgca_countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "iso_code" varchar(2), "dial_code" varchar, "fsm_state" varchar DEFAULT 'new', "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "mgca_country_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_country_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)  (0.9ms) CREATE INDEX "index_mgca_country_translations_on_locale" ON "mgca_country_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_country_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_country_translations_on_locale' AND type='index'  (1.0ms) CREATE INDEX "index_mgca_country_translations_on_mgca_country_id" ON "mgca_country_translations" ("mgca_country_id")  (0.8ms) CREATE TABLE "mgca_district_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_district_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)  (0.9ms) CREATE INDEX "index_mgca_district_translations_on_locale" ON "mgca_district_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_district_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_district_translations_on_locale' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_district_translations_on_mgca_district_id" ON "mgca_district_translations" ("mgca_district_id")  (0.8ms) CREATE TABLE "mgca_districts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "city_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_mgca_districts_on_city_id" ON "mgca_districts" ("city_id")  (0.8ms) CREATE TABLE "mgca_state_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_state_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)  (0.8ms) CREATE INDEX "index_mgca_state_translations_on_locale" ON "mgca_state_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_state_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_state_translations_on_locale' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_state_translations_on_mgca_state_id" ON "mgca_state_translations" ("mgca_state_id")  (0.8ms) CREATE TABLE "mgca_states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "country_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_mgca_states_on_country_id" ON "mgca_states" ("country_id")  (0.8ms) CREATE TABLE "mgca_subdistrict_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "mgca_subdistrict_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar)  (0.7ms) CREATE INDEX "index_mgca_subdistrict_translations_on_locale" ON "mgca_subdistrict_translations" ("locale")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_subdistrict_translations_on_locale' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_subdistrict_translations_on_locale' AND type='index'  (0.8ms) CREATE INDEX "index_mgca_subdistrict_translations_on_mgca_subdistrict_id" ON "mgca_subdistrict_translations" ("mgca_subdistrict_id")  (0.8ms) CREATE TABLE "mgca_subdistricts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "default_name" varchar, "short_name" varchar, "fsm_state" varchar DEFAULT 'new', "district_id" integer, "city_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_mgca_subdistricts_on_city_id" ON "mgca_subdistricts" ("city_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_mgca_subdistricts_on_city_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_mgca_subdistricts_on_city_id' AND type='index'  (0.7ms) CREATE INDEX "index_mgca_subdistricts_on_district_id" ON "mgca_subdistricts" ("district_id")  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20151111133333')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150213105831')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225220219')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151107221200') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.4ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.0ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.9ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:34:58.703558"], ["updated_at", "2015-11-11 13:34:58.703558"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:58.713822"], ["updated_at", "2015-11-11 13:34:58.713822"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:34:58.734088"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:34:58.739113"], ["updated_at", "2015-11-11 13:34:58.739113"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:58.734088"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:34:58.747682"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:34:58.749377"], ["updated_at", "2015-11-11 13:34:58.749377"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:58.747682"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:58.756432"], ["updated_at", "2015-11-11 13:34:58.756432"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:58.759358"], ["updated_at", "2015-11-11 13:34:58.759358"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:58.765548"], ["updated_at", "2015-11-11 13:34:58.765548"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:58.768380"], ["updated_at", "2015-11-11 13:34:58.768380"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:58.774288"], ["updated_at", "2015-11-11 13:34:58.774288"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:58.778131"], ["updated_at", "2015-11-11 13:34:58.778131"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:34:58.793884"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:34:58.797075"], ["updated_at", "2015-11-11 13:34:58.797075"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:34:59.295157"], ["updated_at", "2015-11-11 13:34:59.295157"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:34:59.296170"], ["updated_at", "2015-11-11 13:34:59.296170"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:34:59.299446"], ["updated_at", "2015-11-11 13:34:59.299446"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:34:59.300215"], ["updated_at", "2015-11-11 13:34:59.300215"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:34:59.309015"], ["updated_at", "2015-11-11 13:34:59.309015"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:34:59.310140"], ["updated_at", "2015-11-11 13:34:59.310140"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:34:59.313259"], ["updated_at", "2015-11-11 13:34:59.313259"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:34:59.322500"], ["updated_at", "2015-11-11 13:34:59.322500"]] SQL (0.2ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:34:59.323532"], ["updated_at", "2015-11-11 13:34:59.323532"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:34:59.328602"], ["updated_at", "2015-11-11 13:34:59.328602"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:34:59.339018"], ["updated_at", "2015-11-11 13:34:59.339018"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:34:59.340127"], ["updated_at", "2015-11-11 13:34:59.340127"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:34:59.343334"], ["updated_at", "2015-11-11 13:34:59.343334"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:34:59.351628"], ["updated_at", "2015-11-11 13:34:59.351628"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:34:59.352669"], ["updated_at", "2015-11-11 13:34:59.352669"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:34:59.356851"], ["updated_at", "2015-11-11 13:34:59.356851"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:58.793884"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:34:59.361771"], ["updated_at", "2015-11-11 13:34:59.361771"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:34:59.443584"], ["updated_at", "2015-11-11 13:34:59.443584"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:34:59.447335"], ["updated_at", "2015-11-11 13:34:59.447335"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:34:59.450960"], ["updated_at", "2015-11-11 13:34:59.450960"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:34:59.453733"], ["updated_at", "2015-11-11 13:34:59.453733"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:34:59.457017"], ["updated_at", "2015-11-11 13:34:59.457017"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:34:59.458632"], ["updated_at", "2015-11-11 13:34:59.458632"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:34:59.518497"], ["updated_at", "2015-11-11 13:34:59.518497"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:34:59.525568"], ["updated_at", "2015-11-11 13:34:59.525568"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:34:59.529901"], ["updated_at", "2015-11-11 13:34:59.529901"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:34:59.532247"], ["updated_at", "2015-11-11 13:34:59.532247"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:34:59.565217"], ["updated_at", "2015-11-11 13:34:59.565217"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:59.567771"], ["updated_at", "2015-11-11 13:34:59.567771"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:34:59.572521"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:34:59.574379"], ["updated_at", "2015-11-11 13:34:59.574379"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:59.572521"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:34:59.583783"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:34:59.585926"], ["updated_at", "2015-11-11 13:34:59.585926"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:59.583783"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:59.593555"], ["updated_at", "2015-11-11 13:34:59.593555"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:59.596052"], ["updated_at", "2015-11-11 13:34:59.596052"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:59.601442"], ["updated_at", "2015-11-11 13:34:59.601442"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:59.604888"], ["updated_at", "2015-11-11 13:34:59.604888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:34:59.611206"], ["updated_at", "2015-11-11 13:34:59.611206"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:34:59.614328"], ["updated_at", "2015-11-11 13:34:59.614328"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:34:59.627167"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:34:59.630855"], ["updated_at", "2015-11-11 13:34:59.630855"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:35:00.197005"], ["updated_at", "2015-11-11 13:35:00.197005"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:00.198118"], ["updated_at", "2015-11-11 13:35:00.198118"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:00.202008"], ["updated_at", "2015-11-11 13:35:00.202008"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:00.202934"], ["updated_at", "2015-11-11 13:35:00.202934"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:35:00.206559"], ["updated_at", "2015-11-11 13:35:00.206559"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:00.208116"], ["updated_at", "2015-11-11 13:35:00.208116"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:00.212414"], ["updated_at", "2015-11-11 13:35:00.212414"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:35:00.215965"], ["updated_at", "2015-11-11 13:35:00.215965"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:00.216901"], ["updated_at", "2015-11-11 13:35:00.216901"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:00.219682"], ["updated_at", "2015-11-11 13:35:00.219682"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:35:00.222761"], ["updated_at", "2015-11-11 13:35:00.222761"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:00.223621"], ["updated_at", "2015-11-11 13:35:00.223621"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:00.226713"], ["updated_at", "2015-11-11 13:35:00.226713"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:35:00.229665"], ["updated_at", "2015-11-11 13:35:00.229665"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:00.230505"], ["updated_at", "2015-11-11 13:35:00.230505"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:00.233200"], ["updated_at", "2015-11-11 13:35:00.233200"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:34:59.627167"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:35:00.237589"], ["updated_at", "2015-11-11 13:35:00.237589"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.2ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:35:00.270518"], ["updated_at", "2015-11-11 13:35:00.270518"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:35:00.272368"], ["updated_at", "2015-11-11 13:35:00.272368"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:35:00.273956"], ["updated_at", "2015-11-11 13:35:00.273956"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:35:00.275153"], ["updated_at", "2015-11-11 13:35:00.275153"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:35:00.278963"], ["updated_at", "2015-11-11 13:35:00.278963"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:35:00.280593"], ["updated_at", "2015-11-11 13:35:00.280593"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:00.332769"], ["updated_at", "2015-11-11 13:35:00.332769"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:00.334598"], ["updated_at", "2015-11-11 13:35:00.334598"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:00.339613"], ["updated_at", "2015-11-11 13:35:00.339613"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:00.342877"], ["updated_at", "2015-11-11 13:35:00.342877"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.1ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.0ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.9ms) DELETE FROM "mgca_districts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:35:28.475708"], ["updated_at", "2015-11-11 13:35:28.475708"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:28.484542"], ["updated_at", "2015-11-11 13:35:28.484542"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:35:28.503434"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:35:28.508001"], ["updated_at", "2015-11-11 13:35:28.508001"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:28.503434"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:35:28.515509"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:35:28.517054"], ["updated_at", "2015-11-11 13:35:28.517054"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:28.515509"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:28.523079"], ["updated_at", "2015-11-11 13:35:28.523079"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:28.525255"], ["updated_at", "2015-11-11 13:35:28.525255"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:28.529591"], ["updated_at", "2015-11-11 13:35:28.529591"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:28.531598"], ["updated_at", "2015-11-11 13:35:28.531598"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:28.536104"], ["updated_at", "2015-11-11 13:35:28.536104"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:28.538364"], ["updated_at", "2015-11-11 13:35:28.538364"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:35:28.550129"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:35:28.553502"], ["updated_at", "2015-11-11 13:35:28.553502"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:35:29.474809"], ["updated_at", "2015-11-11 13:35:29.474809"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:29.475861"], ["updated_at", "2015-11-11 13:35:29.475861"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:29.479184"], ["updated_at", "2015-11-11 13:35:29.479184"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:29.479981"], ["updated_at", "2015-11-11 13:35:29.479981"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:35:29.487966"], ["updated_at", "2015-11-11 13:35:29.487966"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:29.489015"], ["updated_at", "2015-11-11 13:35:29.489015"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:29.492180"], ["updated_at", "2015-11-11 13:35:29.492180"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:35:29.500286"], ["updated_at", "2015-11-11 13:35:29.500286"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:29.501214"], ["updated_at", "2015-11-11 13:35:29.501214"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:29.504056"], ["updated_at", "2015-11-11 13:35:29.504056"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.2ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:35:29.514208"], ["updated_at", "2015-11-11 13:35:29.514208"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:29.515741"], ["updated_at", "2015-11-11 13:35:29.515741"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:29.519672"], ["updated_at", "2015-11-11 13:35:29.519672"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:35:29.530096"], ["updated_at", "2015-11-11 13:35:29.530096"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:29.531190"], ["updated_at", "2015-11-11 13:35:29.531190"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:29.534948"], ["updated_at", "2015-11-11 13:35:29.534948"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:28.550129"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:35:29.539479"], ["updated_at", "2015-11-11 13:35:29.539479"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:35:29.624279"], ["updated_at", "2015-11-11 13:35:29.624279"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:35:29.628020"], ["updated_at", "2015-11-11 13:35:29.628020"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:35:29.630680"], ["updated_at", "2015-11-11 13:35:29.630680"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:35:29.633588"], ["updated_at", "2015-11-11 13:35:29.633588"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:35:29.637662"], ["updated_at", "2015-11-11 13:35:29.637662"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:35:29.638898"], ["updated_at", "2015-11-11 13:35:29.638898"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:29.699814"], ["updated_at", "2015-11-11 13:35:29.699814"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:29.706847"], ["updated_at", "2015-11-11 13:35:29.706847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:29.710670"], ["updated_at", "2015-11-11 13:35:29.710670"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:29.713180"], ["updated_at", "2015-11-11 13:35:29.713180"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:35:29.744038"], ["updated_at", "2015-11-11 13:35:29.744038"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:29.746509"], ["updated_at", "2015-11-11 13:35:29.746509"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:35:29.751330"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:35:29.754023"], ["updated_at", "2015-11-11 13:35:29.754023"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:29.751330"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:35:29.760852"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:35:29.762860"], ["updated_at", "2015-11-11 13:35:29.762860"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:29.760852"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:29.770129"], ["updated_at", "2015-11-11 13:35:29.770129"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:29.773726"], ["updated_at", "2015-11-11 13:35:29.773726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:29.780640"], ["updated_at", "2015-11-11 13:35:29.780640"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:29.783046"], ["updated_at", "2015-11-11 13:35:29.783046"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:35:29.787412"], ["updated_at", "2015-11-11 13:35:29.787412"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:35:29.789368"], ["updated_at", "2015-11-11 13:35:29.789368"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:35:29.799381"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:35:29.802297"], ["updated_at", "2015-11-11 13:35:29.802297"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:35:30.263534"], ["updated_at", "2015-11-11 13:35:30.263534"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:30.264672"], ["updated_at", "2015-11-11 13:35:30.264672"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:30.268351"], ["updated_at", "2015-11-11 13:35:30.268351"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:35:30.269211"], ["updated_at", "2015-11-11 13:35:30.269211"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:35:30.272159"], ["updated_at", "2015-11-11 13:35:30.272159"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:30.273060"], ["updated_at", "2015-11-11 13:35:30.273060"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:35:30.276082"], ["updated_at", "2015-11-11 13:35:30.276082"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:35:30.279281"], ["updated_at", "2015-11-11 13:35:30.279281"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:30.280141"], ["updated_at", "2015-11-11 13:35:30.280141"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:35:30.282876"], ["updated_at", "2015-11-11 13:35:30.282876"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:35:30.285627"], ["updated_at", "2015-11-11 13:35:30.285627"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:30.286484"], ["updated_at", "2015-11-11 13:35:30.286484"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:35:30.289117"], ["updated_at", "2015-11-11 13:35:30.289117"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:35:30.292108"], ["updated_at", "2015-11-11 13:35:30.292108"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:30.292931"], ["updated_at", "2015-11-11 13:35:30.292931"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:35:30.295720"], ["updated_at", "2015-11-11 13:35:30.295720"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:35:29.799381"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:35:30.300072"], ["updated_at", "2015-11-11 13:35:30.300072"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:35:30.327920"], ["updated_at", "2015-11-11 13:35:30.327920"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:35:30.329437"], ["updated_at", "2015-11-11 13:35:30.329437"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:35:30.330740"], ["updated_at", "2015-11-11 13:35:30.330740"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:35:30.331783"], ["updated_at", "2015-11-11 13:35:30.331783"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:35:30.335427"], ["updated_at", "2015-11-11 13:35:30.335427"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:35:30.337292"], ["updated_at", "2015-11-11 13:35:30.337292"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:30.388240"], ["updated_at", "2015-11-11 13:35:30.388240"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:30.390051"], ["updated_at", "2015-11-11 13:35:30.390051"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:35:30.393943"], ["updated_at", "2015-11-11 13:35:30.393943"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:35:30.395900"], ["updated_at", "2015-11-11 13:35:30.395900"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.1ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:36:38.223939"], ["updated_at", "2015-11-11 13:36:38.223939"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:38.231301"], ["updated_at", "2015-11-11 13:36:38.231301"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:36:38.249500"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:36:38.253588"], ["updated_at", "2015-11-11 13:36:38.253588"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:38.249500"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:36:38.260089"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:36:38.261501"], ["updated_at", "2015-11-11 13:36:38.261501"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:38.260089"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:38.268265"], ["updated_at", "2015-11-11 13:36:38.268265"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:38.272317"], ["updated_at", "2015-11-11 13:36:38.272317"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:38.279858"], ["updated_at", "2015-11-11 13:36:38.279858"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:38.283459"], ["updated_at", "2015-11-11 13:36:38.283459"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:38.289222"], ["updated_at", "2015-11-11 13:36:38.289222"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:38.291631"], ["updated_at", "2015-11-11 13:36:38.291631"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:36:38.307411"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:36:38.310017"], ["updated_at", "2015-11-11 13:36:38.310017"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:36:38.786465"], ["updated_at", "2015-11-11 13:36:38.786465"]] SQL (0.2ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:38.787434"], ["updated_at", "2015-11-11 13:36:38.787434"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:38.790709"], ["updated_at", "2015-11-11 13:36:38.790709"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:38.791458"], ["updated_at", "2015-11-11 13:36:38.791458"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:36:38.799641"], ["updated_at", "2015-11-11 13:36:38.799641"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:36:38.800657"], ["updated_at", "2015-11-11 13:36:38.800657"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:36:38.804041"], ["updated_at", "2015-11-11 13:36:38.804041"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:36:38.812606"], ["updated_at", "2015-11-11 13:36:38.812606"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:36:38.813589"], ["updated_at", "2015-11-11 13:36:38.813589"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:36:38.816449"], ["updated_at", "2015-11-11 13:36:38.816449"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:36:38.825952"], ["updated_at", "2015-11-11 13:36:38.825952"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:36:38.827105"], ["updated_at", "2015-11-11 13:36:38.827105"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:36:38.830558"], ["updated_at", "2015-11-11 13:36:38.830558"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:36:38.839699"], ["updated_at", "2015-11-11 13:36:38.839699"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:36:38.840757"], ["updated_at", "2015-11-11 13:36:38.840757"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:36:38.844639"], ["updated_at", "2015-11-11 13:36:38.844639"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:38.307411"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:36:38.849176"], ["updated_at", "2015-11-11 13:36:38.849176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:36:38.928194"], ["updated_at", "2015-11-11 13:36:38.928194"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:36:38.932736"], ["updated_at", "2015-11-11 13:36:38.932736"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:36:38.936844"], ["updated_at", "2015-11-11 13:36:38.936844"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:36:38.940379"], ["updated_at", "2015-11-11 13:36:38.940379"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:36:38.944432"], ["updated_at", "2015-11-11 13:36:38.944432"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:36:38.946116"], ["updated_at", "2015-11-11 13:36:38.946116"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:36:39.005042"], ["updated_at", "2015-11-11 13:36:39.005042"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:36:39.012454"], ["updated_at", "2015-11-11 13:36:39.012454"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:36:39.016182"], ["updated_at", "2015-11-11 13:36:39.016182"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:36:39.018801"], ["updated_at", "2015-11-11 13:36:39.018801"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:36:39.049723"], ["updated_at", "2015-11-11 13:36:39.049723"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:39.052356"], ["updated_at", "2015-11-11 13:36:39.052356"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:36:39.057148"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:36:39.058771"], ["updated_at", "2015-11-11 13:36:39.058771"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:39.057148"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:36:39.065433"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:36:39.067658"], ["updated_at", "2015-11-11 13:36:39.067658"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:39.065433"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:39.078453"], ["updated_at", "2015-11-11 13:36:39.078453"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:39.082106"], ["updated_at", "2015-11-11 13:36:39.082106"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:39.088869"], ["updated_at", "2015-11-11 13:36:39.088869"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:39.091440"], ["updated_at", "2015-11-11 13:36:39.091440"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:36:39.095868"], ["updated_at", "2015-11-11 13:36:39.095868"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:36:39.098056"], ["updated_at", "2015-11-11 13:36:39.098056"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:36:39.109161"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:36:39.111600"], ["updated_at", "2015-11-11 13:36:39.111600"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:36:39.577771"], ["updated_at", "2015-11-11 13:36:39.577771"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:39.578966"], ["updated_at", "2015-11-11 13:36:39.578966"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:39.582517"], ["updated_at", "2015-11-11 13:36:39.582517"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:36:39.583313"], ["updated_at", "2015-11-11 13:36:39.583313"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:36:39.586277"], ["updated_at", "2015-11-11 13:36:39.586277"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:36:39.587153"], ["updated_at", "2015-11-11 13:36:39.587153"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:36:39.589988"], ["updated_at", "2015-11-11 13:36:39.589988"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:36:39.593160"], ["updated_at", "2015-11-11 13:36:39.593160"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:36:39.594047"], ["updated_at", "2015-11-11 13:36:39.594047"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:36:39.596715"], ["updated_at", "2015-11-11 13:36:39.596715"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:36:39.599446"], ["updated_at", "2015-11-11 13:36:39.599446"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:36:39.600248"], ["updated_at", "2015-11-11 13:36:39.600248"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:36:39.602981"], ["updated_at", "2015-11-11 13:36:39.602981"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:36:39.606083"], ["updated_at", "2015-11-11 13:36:39.606083"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:36:39.607006"], ["updated_at", "2015-11-11 13:36:39.607006"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:36:39.609950"], ["updated_at", "2015-11-11 13:36:39.609950"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:36:39.109161"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:36:39.614848"], ["updated_at", "2015-11-11 13:36:39.614848"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:36:39.643019"], ["updated_at", "2015-11-11 13:36:39.643019"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:36:39.644524"], ["updated_at", "2015-11-11 13:36:39.644524"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:36:39.645700"], ["updated_at", "2015-11-11 13:36:39.645700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:36:39.646671"], ["updated_at", "2015-11-11 13:36:39.646671"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:36:39.649422"], ["updated_at", "2015-11-11 13:36:39.649422"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:36:39.650487"], ["updated_at", "2015-11-11 13:36:39.650487"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:36:39.697787"], ["updated_at", "2015-11-11 13:36:39.697787"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:36:39.699457"], ["updated_at", "2015-11-11 13:36:39.699457"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:36:39.702781"], ["updated_at", "2015-11-11 13:36:39.702781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:36:39.704903"], ["updated_at", "2015-11-11 13:36:39.704903"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.1ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:37:31.248037"], ["updated_at", "2015-11-11 13:37:31.248037"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:31.259255"], ["updated_at", "2015-11-11 13:37:31.259255"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:37:31.284324"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:37:31.291078"], ["updated_at", "2015-11-11 13:37:31.291078"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:31.284324"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:37:31.302227"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:37:31.304711"], ["updated_at", "2015-11-11 13:37:31.304711"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:31.302227"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:31.314168"], ["updated_at", "2015-11-11 13:37:31.314168"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:31.317503"], ["updated_at", "2015-11-11 13:37:31.317503"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:31.324283"], ["updated_at", "2015-11-11 13:37:31.324283"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:31.327094"], ["updated_at", "2015-11-11 13:37:31.327094"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:31.332226"], ["updated_at", "2015-11-11 13:37:31.332226"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:31.335098"], ["updated_at", "2015-11-11 13:37:31.335098"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:37:31.350367"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:37:31.353450"], ["updated_at", "2015-11-11 13:37:31.353450"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.2ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:37:31.831020"], ["updated_at", "2015-11-11 13:37:31.831020"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:31.832480"], ["updated_at", "2015-11-11 13:37:31.832480"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.2ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:31.836873"], ["updated_at", "2015-11-11 13:37:31.836873"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:31.838094"], ["updated_at", "2015-11-11 13:37:31.838094"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:37:31.847409"], ["updated_at", "2015-11-11 13:37:31.847409"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:37:31.848482"], ["updated_at", "2015-11-11 13:37:31.848482"]] ### ### state .. magic_state ### SQL (0.2ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:37:31.853782"], ["updated_at", "2015-11-11 13:37:31.853782"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:37:31.865805"], ["updated_at", "2015-11-11 13:37:31.865805"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:37:31.867191"], ["updated_at", "2015-11-11 13:37:31.867191"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:37:31.870870"], ["updated_at", "2015-11-11 13:37:31.870870"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.2ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:37:31.882434"], ["updated_at", "2015-11-11 13:37:31.882434"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:37:31.883621"], ["updated_at", "2015-11-11 13:37:31.883621"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:37:31.888134"], ["updated_at", "2015-11-11 13:37:31.888134"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.2ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:37:31.901048"], ["updated_at", "2015-11-11 13:37:31.901048"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:37:31.902445"], ["updated_at", "2015-11-11 13:37:31.902445"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:37:31.907468"], ["updated_at", "2015-11-11 13:37:31.907468"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:31.350367"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:37:31.912695"], ["updated_at", "2015-11-11 13:37:31.912695"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:37:32.002207"], ["updated_at", "2015-11-11 13:37:32.002207"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:37:32.005618"], ["updated_at", "2015-11-11 13:37:32.005618"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:37:32.008627"], ["updated_at", "2015-11-11 13:37:32.008627"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:37:32.011833"], ["updated_at", "2015-11-11 13:37:32.011833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:37:32.014937"], ["updated_at", "2015-11-11 13:37:32.014937"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:37:32.016162"], ["updated_at", "2015-11-11 13:37:32.016162"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:37:32.087193"], ["updated_at", "2015-11-11 13:37:32.087193"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:37:32.097770"], ["updated_at", "2015-11-11 13:37:32.097770"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:37:32.102829"], ["updated_at", "2015-11-11 13:37:32.102829"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:37:32.105720"], ["updated_at", "2015-11-11 13:37:32.105720"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 13:37:32.141665"], ["updated_at", "2015-11-11 13:37:32.141665"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:32.144786"], ["updated_at", "2015-11-11 13:37:32.144786"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 13:37:32.150547"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 13:37:32.152598"], ["updated_at", "2015-11-11 13:37:32.152598"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:32.150547"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 13:37:32.158853"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 13:37:32.160534"], ["updated_at", "2015-11-11 13:37:32.160534"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:32.158853"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:32.167440"], ["updated_at", "2015-11-11 13:37:32.167440"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:32.170386"], ["updated_at", "2015-11-11 13:37:32.170386"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:32.175463"], ["updated_at", "2015-11-11 13:37:32.175463"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:32.178945"], ["updated_at", "2015-11-11 13:37:32.178945"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 13:37:32.184384"], ["updated_at", "2015-11-11 13:37:32.184384"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 13:37:32.187524"], ["updated_at", "2015-11-11 13:37:32.187524"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 13:37:32.200639"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 13:37:32.203682"], ["updated_at", "2015-11-11 13:37:32.203682"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 13:37:32.675864"], ["updated_at", "2015-11-11 13:37:32.675864"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:32.677256"], ["updated_at", "2015-11-11 13:37:32.677256"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:32.681493"], ["updated_at", "2015-11-11 13:37:32.681493"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 13:37:32.682856"], ["updated_at", "2015-11-11 13:37:32.682856"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 13:37:32.687229"], ["updated_at", "2015-11-11 13:37:32.687229"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:37:32.688449"], ["updated_at", "2015-11-11 13:37:32.688449"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 13:37:32.691889"], ["updated_at", "2015-11-11 13:37:32.691889"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 13:37:32.695481"], ["updated_at", "2015-11-11 13:37:32.695481"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:37:32.696432"], ["updated_at", "2015-11-11 13:37:32.696432"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 13:37:32.699387"], ["updated_at", "2015-11-11 13:37:32.699387"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 13:37:32.702597"], ["updated_at", "2015-11-11 13:37:32.702597"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:37:32.703688"], ["updated_at", "2015-11-11 13:37:32.703688"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 13:37:32.706921"], ["updated_at", "2015-11-11 13:37:32.706921"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 13:37:32.710423"], ["updated_at", "2015-11-11 13:37:32.710423"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:37:32.711536"], ["updated_at", "2015-11-11 13:37:32.711536"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 13:37:32.714692"], ["updated_at", "2015-11-11 13:37:32.714692"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 13:37:32.200639"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 13:37:32.719674"], ["updated_at", "2015-11-11 13:37:32.719674"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 13:37:32.751947"], ["updated_at", "2015-11-11 13:37:32.751947"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 13:37:32.753453"], ["updated_at", "2015-11-11 13:37:32.753453"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 13:37:32.754705"], ["updated_at", "2015-11-11 13:37:32.754705"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 13:37:32.755820"], ["updated_at", "2015-11-11 13:37:32.755820"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 13:37:32.758620"], ["updated_at", "2015-11-11 13:37:32.758620"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 13:37:32.759929"], ["updated_at", "2015-11-11 13:37:32.759929"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:37:32.808279"], ["updated_at", "2015-11-11 13:37:32.808279"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:37:32.810141"], ["updated_at", "2015-11-11 13:37:32.810141"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 13:37:32.814154"], ["updated_at", "2015-11-11 13:37:32.814154"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 13:37:32.816232"], ["updated_at", "2015-11-11 13:37:32.816232"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-11 14:04:25.949349"], ["updated_at", "2015-11-11 14:04:25.949349"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:04:25.956801"], ["updated_at", "2015-11-11 14:04:25.956801"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:04:25.961475"], ["updated_at", "2015-11-11 14:04:25.961475"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:04:26.575684"], ["updated_at", "2015-11-11 14:04:26.575684"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:04:26.576851"], ["updated_at", "2015-11-11 14:04:26.576851"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:04:26.581266"], ["updated_at", "2015-11-11 14:04:26.581266"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:04:26.582072"], ["updated_at", "2015-11-11 14:04:26.582072"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:04:26.591841"], ["updated_at", "2015-11-11 14:04:26.591841"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:04:26.593269"], ["updated_at", "2015-11-11 14:04:26.593269"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:04:26.597443"], ["updated_at", "2015-11-11 14:04:26.597443"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:04:26.606595"], ["updated_at", "2015-11-11 14:04:26.606595"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:04:26.607737"], ["updated_at", "2015-11-11 14:04:26.607737"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:04:26.612071"], ["updated_at", "2015-11-11 14:04:26.612071"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.3ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:04:26.621065"], ["updated_at", "2015-11-11 14:04:26.621065"]] SQL (0.2ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:04:26.623087"], ["updated_at", "2015-11-11 14:04:26.623087"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:04:26.628930"], ["updated_at", "2015-11-11 14:04:26.628930"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:04:26.638297"], ["updated_at", "2015-11-11 14:04:26.638297"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:04:26.639319"], ["updated_at", "2015-11-11 14:04:26.639319"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:04:26.643263"], ["updated_at", "2015-11-11 14:04:26.643263"]] SQL (1.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:04:25.956801"], ["updated_at", "2015-11-11 14:04:25.956801"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:04:26.649357"], ["updated_at", "2015-11-11 14:04:26.649357"]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-11 14:04:26.652751"], ["updated_at", "2015-11-11 14:04:26.652751"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:04:26.655837"], ["id", 1]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-11 14:04:26.666352"], ["updated_at", "2015-11-11 14:04:26.666352"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:04:26.668018"], ["updated_at", "2015-11-11 14:04:26.668018"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:04:26.670842"], ["updated_at", "2015-11-11 14:04:26.670842"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:04:27.138437"], ["updated_at", "2015-11-11 14:04:27.138437"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:04:27.139622"], ["updated_at", "2015-11-11 14:04:27.139622"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:04:27.145290"], ["updated_at", "2015-11-11 14:04:27.145290"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:04:27.150702"], ["updated_at", "2015-11-11 14:04:27.150702"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:04:27.155003"], ["updated_at", "2015-11-11 14:04:27.155003"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:04:27.159958"], ["updated_at", "2015-11-11 14:04:27.159958"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:04:26.668018"], ["updated_at", "2015-11-11 14:04:26.668018"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:04:27.166092"], ["updated_at", "2015-11-11 14:04:27.166092"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-11 14:04:27.168043"], ["updated_at", "2015-11-11 14:04:27.168043"]] SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:04:27.170349"], ["id", 2]]  (2.6ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "users" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.6ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 14:05:34.183080"], ["updated_at", "2015-11-11 14:05:34.183080"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:34.192884"], ["updated_at", "2015-11-11 14:05:34.192884"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 14:05:34.217041"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 14:05:34.221706"], ["updated_at", "2015-11-11 14:05:34.221706"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:34.217041"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 14:05:34.228619"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 14:05:34.230073"], ["updated_at", "2015-11-11 14:05:34.230073"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:34.228619"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:34.237682"], ["updated_at", "2015-11-11 14:05:34.237682"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:34.240163"], ["updated_at", "2015-11-11 14:05:34.240163"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:34.244813"], ["updated_at", "2015-11-11 14:05:34.244813"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:34.247414"], ["updated_at", "2015-11-11 14:05:34.247414"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:34.253156"], ["updated_at", "2015-11-11 14:05:34.253156"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:34.255980"], ["updated_at", "2015-11-11 14:05:34.255980"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 14:05:34.268104"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 14:05:34.270348"], ["updated_at", "2015-11-11 14:05:34.270348"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:05:34.801793"], ["updated_at", "2015-11-11 14:05:34.801793"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:34.802868"], ["updated_at", "2015-11-11 14:05:34.802868"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:34.806264"], ["updated_at", "2015-11-11 14:05:34.806264"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:34.807059"], ["updated_at", "2015-11-11 14:05:34.807059"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:05:34.815992"], ["updated_at", "2015-11-11 14:05:34.815992"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:34.816988"], ["updated_at", "2015-11-11 14:05:34.816988"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:34.820128"], ["updated_at", "2015-11-11 14:05:34.820128"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:05:34.829010"], ["updated_at", "2015-11-11 14:05:34.829010"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:34.830115"], ["updated_at", "2015-11-11 14:05:34.830115"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:34.833093"], ["updated_at", "2015-11-11 14:05:34.833093"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:05:34.841219"], ["updated_at", "2015-11-11 14:05:34.841219"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:34.842196"], ["updated_at", "2015-11-11 14:05:34.842196"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:34.845151"], ["updated_at", "2015-11-11 14:05:34.845151"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:05:34.856127"], ["updated_at", "2015-11-11 14:05:34.856127"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:34.857318"], ["updated_at", "2015-11-11 14:05:34.857318"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:34.861176"], ["updated_at", "2015-11-11 14:05:34.861176"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:34.268104"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:34.865762"], ["updated_at", "2015-11-11 14:05:34.865762"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 14:05:34.957164"], ["updated_at", "2015-11-11 14:05:34.957164"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 14:05:34.963249"], ["updated_at", "2015-11-11 14:05:34.963249"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 14:05:34.967058"], ["updated_at", "2015-11-11 14:05:34.967058"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 14:05:34.970044"], ["updated_at", "2015-11-11 14:05:34.970044"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 14:05:34.973547"], ["updated_at", "2015-11-11 14:05:34.973547"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 14:05:34.974759"], ["updated_at", "2015-11-11 14:05:34.974759"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:05:35.034847"], ["updated_at", "2015-11-11 14:05:35.034847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:05:35.042294"], ["updated_at", "2015-11-11 14:05:35.042294"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:05:35.046092"], ["updated_at", "2015-11-11 14:05:35.046092"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:05:35.047881"], ["updated_at", "2015-11-11 14:05:35.047881"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-11 14:05:35.064171"], ["updated_at", "2015-11-11 14:05:35.064171"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:05:35.066065"], ["updated_at", "2015-11-11 14:05:35.066065"]] SQL (0.3ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:35.068985"], ["updated_at", "2015-11-11 14:05:35.068985"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:05:35.536677"], ["updated_at", "2015-11-11 14:05:35.536677"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:35.537781"], ["updated_at", "2015-11-11 14:05:35.537781"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:35.541697"], ["updated_at", "2015-11-11 14:05:35.541697"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:35.542500"], ["updated_at", "2015-11-11 14:05:35.542500"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:05:35.545340"], ["updated_at", "2015-11-11 14:05:35.545340"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:35.546149"], ["updated_at", "2015-11-11 14:05:35.546149"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:35.548929"], ["updated_at", "2015-11-11 14:05:35.548929"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:05:35.552149"], ["updated_at", "2015-11-11 14:05:35.552149"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:35.553012"], ["updated_at", "2015-11-11 14:05:35.553012"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:35.555877"], ["updated_at", "2015-11-11 14:05:35.555877"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:05:35.558657"], ["updated_at", "2015-11-11 14:05:35.558657"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:35.559815"], ["updated_at", "2015-11-11 14:05:35.559815"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:35.563781"], ["updated_at", "2015-11-11 14:05:35.563781"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:05:35.567653"], ["updated_at", "2015-11-11 14:05:35.567653"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:35.568691"], ["updated_at", "2015-11-11 14:05:35.568691"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:35.571868"], ["updated_at", "2015-11-11 14:05:35.571868"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:05:35.066065"], ["updated_at", "2015-11-11 14:05:35.066065"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:35.576682"], ["updated_at", "2015-11-11 14:05:35.576682"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-11 14:05:35.578282"], ["updated_at", "2015-11-11 14:05:35.578282"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:35.580498"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-11 14:05:35.587064"], ["updated_at", "2015-11-11 14:05:35.587064"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:05:35.589183"], ["updated_at", "2015-11-11 14:05:35.589183"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:05:35.593609"], ["updated_at", "2015-11-11 14:05:35.593609"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:36.067938"], ["updated_at", "2015-11-11 14:05:36.067938"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:36.068962"], ["updated_at", "2015-11-11 14:05:36.068962"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:36.073123"], ["updated_at", "2015-11-11 14:05:36.073123"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:36.077060"], ["updated_at", "2015-11-11 14:05:36.077060"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:36.080846"], ["updated_at", "2015-11-11 14:05:36.080846"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:36.085375"], ["updated_at", "2015-11-11 14:05:36.085375"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:05:35.589183"], ["updated_at", "2015-11-11 14:05:35.589183"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:05:36.091902"], ["updated_at", "2015-11-11 14:05:36.091902"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-11 14:05:36.093928"], ["updated_at", "2015-11-11 14:05:36.093928"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:36.096444"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 14:05:36.135600"], ["updated_at", "2015-11-11 14:05:36.135600"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:36.138791"], ["updated_at", "2015-11-11 14:05:36.138791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 14:05:36.145312"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 14:05:36.147207"], ["updated_at", "2015-11-11 14:05:36.147207"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:36.145312"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 14:05:36.155157"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 14:05:36.158854"], ["updated_at", "2015-11-11 14:05:36.158854"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:36.155157"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:36.167440"], ["updated_at", "2015-11-11 14:05:36.167440"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:36.169921"], ["updated_at", "2015-11-11 14:05:36.169921"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:36.174716"], ["updated_at", "2015-11-11 14:05:36.174716"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:36.177331"], ["updated_at", "2015-11-11 14:05:36.177331"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:05:36.182958"], ["updated_at", "2015-11-11 14:05:36.182958"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:05:36.186025"], ["updated_at", "2015-11-11 14:05:36.186025"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 14:05:36.199306"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 14:05:36.202257"], ["updated_at", "2015-11-11 14:05:36.202257"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:05:36.677359"], ["updated_at", "2015-11-11 14:05:36.677359"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:36.678730"], ["updated_at", "2015-11-11 14:05:36.678730"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:36.683048"], ["updated_at", "2015-11-11 14:05:36.683048"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:36.684056"], ["updated_at", "2015-11-11 14:05:36.684056"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:05:36.687388"], ["updated_at", "2015-11-11 14:05:36.687388"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:36.688332"], ["updated_at", "2015-11-11 14:05:36.688332"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:36.693615"], ["updated_at", "2015-11-11 14:05:36.693615"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:05:36.698471"], ["updated_at", "2015-11-11 14:05:36.698471"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:36.699780"], ["updated_at", "2015-11-11 14:05:36.699780"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:36.703459"], ["updated_at", "2015-11-11 14:05:36.703459"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:05:36.707064"], ["updated_at", "2015-11-11 14:05:36.707064"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:36.708027"], ["updated_at", "2015-11-11 14:05:36.708027"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:36.711059"], ["updated_at", "2015-11-11 14:05:36.711059"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:05:36.714317"], ["updated_at", "2015-11-11 14:05:36.714317"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:36.715213"], ["updated_at", "2015-11-11 14:05:36.715213"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:36.718312"], ["updated_at", "2015-11-11 14:05:36.718312"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:36.199306"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:36.724192"], ["updated_at", "2015-11-11 14:05:36.724192"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 14:05:36.763617"], ["updated_at", "2015-11-11 14:05:36.763617"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 14:05:36.765814"], ["updated_at", "2015-11-11 14:05:36.765814"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 14:05:36.767904"], ["updated_at", "2015-11-11 14:05:36.767904"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 14:05:36.769683"], ["updated_at", "2015-11-11 14:05:36.769683"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 14:05:36.773325"], ["updated_at", "2015-11-11 14:05:36.773325"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 14:05:36.774667"], ["updated_at", "2015-11-11 14:05:36.774667"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:05:36.828180"], ["updated_at", "2015-11-11 14:05:36.828180"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:05:36.830301"], ["updated_at", "2015-11-11 14:05:36.830301"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:05:36.834158"], ["updated_at", "2015-11-11 14:05:36.834158"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.8ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:05:36.836603"], ["updated_at", "2015-11-11 14:05:36.836603"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-11 14:05:36.848252"], ["updated_at", "2015-11-11 14:05:36.848252"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:05:36.849872"], ["updated_at", "2015-11-11 14:05:36.849872"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:36.852561"], ["updated_at", "2015-11-11 14:05:36.852561"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:05:37.324941"], ["updated_at", "2015-11-11 14:05:37.324941"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:37.326044"], ["updated_at", "2015-11-11 14:05:37.326044"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:37.329401"], ["updated_at", "2015-11-11 14:05:37.329401"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:37.330223"], ["updated_at", "2015-11-11 14:05:37.330223"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:05:37.333577"], ["updated_at", "2015-11-11 14:05:37.333577"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:37.334834"], ["updated_at", "2015-11-11 14:05:37.334834"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:37.338095"], ["updated_at", "2015-11-11 14:05:37.338095"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:05:37.341747"], ["updated_at", "2015-11-11 14:05:37.341747"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:37.342698"], ["updated_at", "2015-11-11 14:05:37.342698"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:37.345776"], ["updated_at", "2015-11-11 14:05:37.345776"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:05:37.350752"], ["updated_at", "2015-11-11 14:05:37.350752"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:37.352067"], ["updated_at", "2015-11-11 14:05:37.352067"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:37.356059"], ["updated_at", "2015-11-11 14:05:37.356059"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:05:37.361626"], ["updated_at", "2015-11-11 14:05:37.361626"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:37.362988"], ["updated_at", "2015-11-11 14:05:37.362988"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:37.366629"], ["updated_at", "2015-11-11 14:05:37.366629"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:05:36.849872"], ["updated_at", "2015-11-11 14:05:36.849872"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:05:37.374349"], ["updated_at", "2015-11-11 14:05:37.374349"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-11 14:05:37.376767"], ["updated_at", "2015-11-11 14:05:37.376767"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:37.379633"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-11 14:05:37.388577"], ["updated_at", "2015-11-11 14:05:37.388577"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:05:37.390348"], ["updated_at", "2015-11-11 14:05:37.390348"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:05:37.393598"], ["updated_at", "2015-11-11 14:05:37.393598"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:37.872377"], ["updated_at", "2015-11-11 14:05:37.872377"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:05:37.873474"], ["updated_at", "2015-11-11 14:05:37.873474"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:05:37.877789"], ["updated_at", "2015-11-11 14:05:37.877789"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:05:37.881777"], ["updated_at", "2015-11-11 14:05:37.881777"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:05:37.886631"], ["updated_at", "2015-11-11 14:05:37.886631"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:05:37.890858"], ["updated_at", "2015-11-11 14:05:37.890858"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:05:37.390348"], ["updated_at", "2015-11-11 14:05:37.390348"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:05:37.895513"], ["updated_at", "2015-11-11 14:05:37.895513"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-11 14:05:37.897077"], ["updated_at", "2015-11-11 14:05:37.897077"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:05:37.899308"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 14:06:00.522005"], ["updated_at", "2015-11-11 14:06:00.522005"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:00.530736"], ["updated_at", "2015-11-11 14:06:00.530736"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 14:06:00.552056"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 14:06:00.556922"], ["updated_at", "2015-11-11 14:06:00.556922"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:00.552056"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 14:06:00.564513"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 14:06:00.566215"], ["updated_at", "2015-11-11 14:06:00.566215"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.0ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:00.564513"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:00.574855"], ["updated_at", "2015-11-11 14:06:00.574855"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:00.578464"], ["updated_at", "2015-11-11 14:06:00.578464"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:00.583919"], ["updated_at", "2015-11-11 14:06:00.583919"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:00.586128"], ["updated_at", "2015-11-11 14:06:00.586128"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:00.591374"], ["updated_at", "2015-11-11 14:06:00.591374"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:00.593914"], ["updated_at", "2015-11-11 14:06:00.593914"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 14:06:00.605486"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 14:06:00.608404"], ["updated_at", "2015-11-11 14:06:00.608404"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:06:01.092116"], ["updated_at", "2015-11-11 14:06:01.092116"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.093155"], ["updated_at", "2015-11-11 14:06:01.093155"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.096963"], ["updated_at", "2015-11-11 14:06:01.096963"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.097783"], ["updated_at", "2015-11-11 14:06:01.097783"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:06:01.106354"], ["updated_at", "2015-11-11 14:06:01.106354"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:01.107684"], ["updated_at", "2015-11-11 14:06:01.107684"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:01.111469"], ["updated_at", "2015-11-11 14:06:01.111469"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:06:01.120263"], ["updated_at", "2015-11-11 14:06:01.120263"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:01.121275"], ["updated_at", "2015-11-11 14:06:01.121275"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:01.126443"], ["updated_at", "2015-11-11 14:06:01.126443"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:06:01.137012"], ["updated_at", "2015-11-11 14:06:01.137012"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:01.138052"], ["updated_at", "2015-11-11 14:06:01.138052"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:01.141296"], ["updated_at", "2015-11-11 14:06:01.141296"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:06:01.149681"], ["updated_at", "2015-11-11 14:06:01.149681"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:01.150668"], ["updated_at", "2015-11-11 14:06:01.150668"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:01.154544"], ["updated_at", "2015-11-11 14:06:01.154544"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:00.605486"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:01.159157"], ["updated_at", "2015-11-11 14:06:01.159157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 14:06:01.243879"], ["updated_at", "2015-11-11 14:06:01.243879"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 14:06:01.248157"], ["updated_at", "2015-11-11 14:06:01.248157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 14:06:01.251402"], ["updated_at", "2015-11-11 14:06:01.251402"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 14:06:01.254164"], ["updated_at", "2015-11-11 14:06:01.254164"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 14:06:01.257986"], ["updated_at", "2015-11-11 14:06:01.257986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 14:06:01.259780"], ["updated_at", "2015-11-11 14:06:01.259780"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:06:01.320805"], ["updated_at", "2015-11-11 14:06:01.320805"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:06:01.328349"], ["updated_at", "2015-11-11 14:06:01.328349"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:06:01.333329"], ["updated_at", "2015-11-11 14:06:01.333329"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:06:01.335988"], ["updated_at", "2015-11-11 14:06:01.335988"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-11 14:06:01.352415"], ["updated_at", "2015-11-11 14:06:01.352415"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:06:01.354240"], ["updated_at", "2015-11-11 14:06:01.354240"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:01.358746"], ["updated_at", "2015-11-11 14:06:01.358746"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:06:01.837224"], ["updated_at", "2015-11-11 14:06:01.837224"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.838366"], ["updated_at", "2015-11-11 14:06:01.838366"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.842198"], ["updated_at", "2015-11-11 14:06:01.842198"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:01.842950"], ["updated_at", "2015-11-11 14:06:01.842950"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:06:01.845855"], ["updated_at", "2015-11-11 14:06:01.845855"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:01.846681"], ["updated_at", "2015-11-11 14:06:01.846681"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:01.849457"], ["updated_at", "2015-11-11 14:06:01.849457"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:06:01.852829"], ["updated_at", "2015-11-11 14:06:01.852829"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:01.853731"], ["updated_at", "2015-11-11 14:06:01.853731"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:01.857368"], ["updated_at", "2015-11-11 14:06:01.857368"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:06:01.861233"], ["updated_at", "2015-11-11 14:06:01.861233"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:01.862108"], ["updated_at", "2015-11-11 14:06:01.862108"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:01.864919"], ["updated_at", "2015-11-11 14:06:01.864919"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:06:01.867958"], ["updated_at", "2015-11-11 14:06:01.867958"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:01.868912"], ["updated_at", "2015-11-11 14:06:01.868912"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:01.872105"], ["updated_at", "2015-11-11 14:06:01.872105"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:06:01.354240"], ["updated_at", "2015-11-11 14:06:01.354240"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:01.879970"], ["updated_at", "2015-11-11 14:06:01.879970"]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-11 14:06:01.882144"], ["updated_at", "2015-11-11 14:06:01.882144"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:01.884833"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-11 14:06:01.893386"], ["updated_at", "2015-11-11 14:06:01.893386"]] SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:06:01.895336"], ["updated_at", "2015-11-11 14:06:01.895336"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:06:01.899427"], ["updated_at", "2015-11-11 14:06:01.899427"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:02.382257"], ["updated_at", "2015-11-11 14:06:02.382257"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:02.383208"], ["updated_at", "2015-11-11 14:06:02.383208"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:02.387180"], ["updated_at", "2015-11-11 14:06:02.387180"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:02.393714"], ["updated_at", "2015-11-11 14:06:02.393714"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:02.399151"], ["updated_at", "2015-11-11 14:06:02.399151"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:02.403724"], ["updated_at", "2015-11-11 14:06:02.403724"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:06:01.895336"], ["updated_at", "2015-11-11 14:06:01.895336"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:06:02.409221"], ["updated_at", "2015-11-11 14:06:02.409221"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-11 14:06:02.411220"], ["updated_at", "2015-11-11 14:06:02.411220"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:02.413470"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-11 14:06:02.448887"], ["updated_at", "2015-11-11 14:06:02.448887"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:02.451494"], ["updated_at", "2015-11-11 14:06:02.451494"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-11 14:06:02.457426"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-11 14:06:02.460218"], ["updated_at", "2015-11-11 14:06:02.460218"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:02.457426"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-11 14:06:02.466350"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-11 14:06:02.467931"], ["updated_at", "2015-11-11 14:06:02.467931"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:02.466350"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:02.474781"], ["updated_at", "2015-11-11 14:06:02.474781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:02.477933"], ["updated_at", "2015-11-11 14:06:02.477933"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:02.483980"], ["updated_at", "2015-11-11 14:06:02.483980"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:02.486493"], ["updated_at", "2015-11-11 14:06:02.486493"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-11 14:06:02.491334"], ["updated_at", "2015-11-11 14:06:02.491334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-11 14:06:02.493697"], ["updated_at", "2015-11-11 14:06:02.493697"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-11 14:06:02.504368"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-11 14:06:02.507253"], ["updated_at", "2015-11-11 14:06:02.507253"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:06:02.973407"], ["updated_at", "2015-11-11 14:06:02.973407"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:02.974636"], ["updated_at", "2015-11-11 14:06:02.974636"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:02.978671"], ["updated_at", "2015-11-11 14:06:02.978671"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:02.979547"], ["updated_at", "2015-11-11 14:06:02.979547"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:06:02.982579"], ["updated_at", "2015-11-11 14:06:02.982579"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:02.983433"], ["updated_at", "2015-11-11 14:06:02.983433"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:02.986315"], ["updated_at", "2015-11-11 14:06:02.986315"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:06:02.989750"], ["updated_at", "2015-11-11 14:06:02.989750"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:02.990699"], ["updated_at", "2015-11-11 14:06:02.990699"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:02.993691"], ["updated_at", "2015-11-11 14:06:02.993691"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:06:02.999065"], ["updated_at", "2015-11-11 14:06:02.999065"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:03.000370"], ["updated_at", "2015-11-11 14:06:03.000370"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:03.004979"], ["updated_at", "2015-11-11 14:06:03.004979"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:06:03.010102"], ["updated_at", "2015-11-11 14:06:03.010102"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:03.011639"], ["updated_at", "2015-11-11 14:06:03.011639"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:03.015832"], ["updated_at", "2015-11-11 14:06:03.015832"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:02.504368"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:03.021842"], ["updated_at", "2015-11-11 14:06:03.021842"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-11 14:06:03.063611"], ["updated_at", "2015-11-11 14:06:03.063611"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-11 14:06:03.065348"], ["updated_at", "2015-11-11 14:06:03.065348"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-11 14:06:03.067067"], ["updated_at", "2015-11-11 14:06:03.067067"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-11 14:06:03.068407"], ["updated_at", "2015-11-11 14:06:03.068407"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-11 14:06:03.071417"], ["updated_at", "2015-11-11 14:06:03.071417"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-11 14:06:03.072960"], ["updated_at", "2015-11-11 14:06:03.072960"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:06:03.120474"], ["updated_at", "2015-11-11 14:06:03.120474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:06:03.122245"], ["updated_at", "2015-11-11 14:06:03.122245"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-11 14:06:03.125645"], ["updated_at", "2015-11-11 14:06:03.125645"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-11 14:06:03.127499"], ["updated_at", "2015-11-11 14:06:03.127499"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-11 14:06:03.136708"], ["updated_at", "2015-11-11 14:06:03.136708"]] SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:06:03.138560"], ["updated_at", "2015-11-11 14:06:03.138560"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:03.142512"], ["updated_at", "2015-11-11 14:06:03.142512"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-11 14:06:03.620890"], ["updated_at", "2015-11-11 14:06:03.620890"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:03.621874"], ["updated_at", "2015-11-11 14:06:03.621874"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:03.625305"], ["updated_at", "2015-11-11 14:06:03.625305"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:03.626048"], ["updated_at", "2015-11-11 14:06:03.626048"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-11 14:06:03.628896"], ["updated_at", "2015-11-11 14:06:03.628896"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:03.629719"], ["updated_at", "2015-11-11 14:06:03.629719"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:03.632641"], ["updated_at", "2015-11-11 14:06:03.632641"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-11 14:06:03.636402"], ["updated_at", "2015-11-11 14:06:03.636402"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:03.638217"], ["updated_at", "2015-11-11 14:06:03.638217"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:03.642612"], ["updated_at", "2015-11-11 14:06:03.642612"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-11 14:06:03.646377"], ["updated_at", "2015-11-11 14:06:03.646377"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:03.647371"], ["updated_at", "2015-11-11 14:06:03.647371"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:03.650522"], ["updated_at", "2015-11-11 14:06:03.650522"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-11 14:06:03.653440"], ["updated_at", "2015-11-11 14:06:03.653440"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:03.654308"], ["updated_at", "2015-11-11 14:06:03.654308"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:03.658300"], ["updated_at", "2015-11-11 14:06:03.658300"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:06:03.138560"], ["updated_at", "2015-11-11 14:06:03.138560"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-11 14:06:03.663614"], ["updated_at", "2015-11-11 14:06:03.663614"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-11 14:06:03.665172"], ["updated_at", "2015-11-11 14:06:03.665172"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:03.667413"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-11 14:06:03.674041"], ["updated_at", "2015-11-11 14:06:03.674041"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-11 14:06:03.675978"], ["updated_at", "2015-11-11 14:06:03.675978"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:06:03.678696"], ["updated_at", "2015-11-11 14:06:03.678696"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:04.160578"], ["updated_at", "2015-11-11 14:06:04.160578"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-11 14:06:04.161591"], ["updated_at", "2015-11-11 14:06:04.161591"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-11 14:06:04.165690"], ["updated_at", "2015-11-11 14:06:04.165690"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-11 14:06:04.169665"], ["updated_at", "2015-11-11 14:06:04.169665"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-11 14:06:04.173680"], ["updated_at", "2015-11-11 14:06:04.173680"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-11 14:06:04.177928"], ["updated_at", "2015-11-11 14:06:04.177928"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-11 14:06:03.675978"], ["updated_at", "2015-11-11 14:06:03.675978"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-11 14:06:04.182712"], ["updated_at", "2015-11-11 14:06:04.182712"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-11 14:06:04.184509"], ["updated_at", "2015-11-11 14:06:04.184509"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-11 14:06:04.186667"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.6ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.9ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.4ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.0ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.2ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.2ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 08:42:40.270027"], ["updated_at", "2015-11-12 08:42:40.270027"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:40.281293"], ["updated_at", "2015-11-12 08:42:40.281293"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 08:42:40.307620"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 08:42:40.314460"], ["updated_at", "2015-11-12 08:42:40.314460"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:40.307620"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-12 08:42:40.321689"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-12 08:42:40.323215"], ["updated_at", "2015-11-12 08:42:40.323215"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:40.321689"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:40.329804"], ["updated_at", "2015-11-12 08:42:40.329804"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:40.332306"], ["updated_at", "2015-11-12 08:42:40.332306"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:40.337158"], ["updated_at", "2015-11-12 08:42:40.337158"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:40.340016"], ["updated_at", "2015-11-12 08:42:40.340016"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:40.345104"], ["updated_at", "2015-11-12 08:42:40.345104"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:40.348026"], ["updated_at", "2015-11-12 08:42:40.348026"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 08:42:40.360216"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 08:42:40.362582"], ["updated_at", "2015-11-12 08:42:40.362582"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 08:42:41.418038"], ["updated_at", "2015-11-12 08:42:41.418038"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:41.419141"], ["updated_at", "2015-11-12 08:42:41.419141"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:41.422471"], ["updated_at", "2015-11-12 08:42:41.422471"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:41.423231"], ["updated_at", "2015-11-12 08:42:41.423231"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 08:42:41.431739"], ["updated_at", "2015-11-12 08:42:41.431739"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:41.432738"], ["updated_at", "2015-11-12 08:42:41.432738"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:41.436088"], ["updated_at", "2015-11-12 08:42:41.436088"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 08:42:41.445328"], ["updated_at", "2015-11-12 08:42:41.445328"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:41.446371"], ["updated_at", "2015-11-12 08:42:41.446371"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:41.450563"], ["updated_at", "2015-11-12 08:42:41.450563"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 08:42:41.459558"], ["updated_at", "2015-11-12 08:42:41.459558"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:41.460574"], ["updated_at", "2015-11-12 08:42:41.460574"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:41.463504"], ["updated_at", "2015-11-12 08:42:41.463504"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 08:42:41.471893"], ["updated_at", "2015-11-12 08:42:41.471893"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:41.472982"], ["updated_at", "2015-11-12 08:42:41.472982"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:41.477171"], ["updated_at", "2015-11-12 08:42:41.477171"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:40.360216"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:41.481946"], ["updated_at", "2015-11-12 08:42:41.481946"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.1ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.1ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.1ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.1ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.2ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.1ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 08:42:41.570474"], ["updated_at", "2015-11-12 08:42:41.570474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 08:42:41.575025"], ["updated_at", "2015-11-12 08:42:41.575025"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 08:42:41.577890"], ["updated_at", "2015-11-12 08:42:41.577890"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 08:42:41.580448"], ["updated_at", "2015-11-12 08:42:41.580448"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 08:42:41.583565"], ["updated_at", "2015-11-12 08:42:41.583565"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 08:42:41.584766"], ["updated_at", "2015-11-12 08:42:41.584766"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 08:42:41.650491"], ["updated_at", "2015-11-12 08:42:41.650491"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 08:42:41.657483"], ["updated_at", "2015-11-12 08:42:41.657483"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 08:42:41.661018"], ["updated_at", "2015-11-12 08:42:41.661018"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 08:42:41.662585"], ["updated_at", "2015-11-12 08:42:41.662585"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 08:42:41.677935"], ["updated_at", "2015-11-12 08:42:41.677935"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 08:42:41.679768"], ["updated_at", "2015-11-12 08:42:41.679768"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:41.682534"], ["updated_at", "2015-11-12 08:42:41.682534"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 08:42:42.146164"], ["updated_at", "2015-11-12 08:42:42.146164"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:42.147218"], ["updated_at", "2015-11-12 08:42:42.147218"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:42.150575"], ["updated_at", "2015-11-12 08:42:42.150575"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:42.151339"], ["updated_at", "2015-11-12 08:42:42.151339"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 08:42:42.154084"], ["updated_at", "2015-11-12 08:42:42.154084"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:42.154928"], ["updated_at", "2015-11-12 08:42:42.154928"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:42.157647"], ["updated_at", "2015-11-12 08:42:42.157647"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 08:42:42.162032"], ["updated_at", "2015-11-12 08:42:42.162032"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:42.163698"], ["updated_at", "2015-11-12 08:42:42.163698"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:42.167704"], ["updated_at", "2015-11-12 08:42:42.167704"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 08:42:42.171334"], ["updated_at", "2015-11-12 08:42:42.171334"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:42.172626"], ["updated_at", "2015-11-12 08:42:42.172626"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:42.177079"], ["updated_at", "2015-11-12 08:42:42.177079"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 08:42:42.181176"], ["updated_at", "2015-11-12 08:42:42.181176"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:42.182194"], ["updated_at", "2015-11-12 08:42:42.182194"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:42.185341"], ["updated_at", "2015-11-12 08:42:42.185341"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-12 08:42:41.679768"], ["updated_at", "2015-11-12 08:42:41.679768"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:42.189942"], ["updated_at", "2015-11-12 08:42:42.189942"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 08:42:42.191522"], ["updated_at", "2015-11-12 08:42:42.191522"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:42.194042"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 08:42:42.202007"], ["updated_at", "2015-11-12 08:42:42.202007"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 08:42:42.204761"], ["updated_at", "2015-11-12 08:42:42.204761"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 08:42:42.208715"], ["updated_at", "2015-11-12 08:42:42.208715"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:42.742764"], ["updated_at", "2015-11-12 08:42:42.742764"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:42.743730"], ["updated_at", "2015-11-12 08:42:42.743730"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:42.747564"], ["updated_at", "2015-11-12 08:42:42.747564"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:42.751471"], ["updated_at", "2015-11-12 08:42:42.751471"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:42.755257"], ["updated_at", "2015-11-12 08:42:42.755257"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:42.759281"], ["updated_at", "2015-11-12 08:42:42.759281"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-12 08:42:42.204761"], ["updated_at", "2015-11-12 08:42:42.204761"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 08:42:42.763952"], ["updated_at", "2015-11-12 08:42:42.763952"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 08:42:42.765710"], ["updated_at", "2015-11-12 08:42:42.765710"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:42.767827"], ["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 08:42:42.805626"], ["updated_at", "2015-11-12 08:42:42.805626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:42.808387"], ["updated_at", "2015-11-12 08:42:42.808387"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 08:42:42.813695"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 08:42:42.815542"], ["updated_at", "2015-11-12 08:42:42.815542"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:42.813695"], ["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Straße\n"], ["updated_at", "2015-11-12 08:42:42.823870"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Straße"], ["created_at", "2015-11-12 08:42:42.825975"], ["updated_at", "2015-11-12 08:42:42.825975"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Straße ### SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:42.823870"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:42.835186"], ["updated_at", "2015-11-12 08:42:42.835186"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:42.838908"], ["updated_at", "2015-11-12 08:42:42.838908"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:42.845088"], ["updated_at", "2015-11-12 08:42:42.845088"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:42.847621"], ["updated_at", "2015-11-12 08:42:42.847621"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 08:42:42.852368"], ["updated_at", "2015-11-12 08:42:42.852368"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 08:42:42.854655"], ["updated_at", "2015-11-12 08:42:42.854655"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 08:42:42.865208"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 08:42:42.867773"], ["updated_at", "2015-11-12 08:42:42.867773"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 08:42:43.343570"], ["updated_at", "2015-11-12 08:42:43.343570"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.344769"], ["updated_at", "2015-11-12 08:42:43.344769"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.348411"], ["updated_at", "2015-11-12 08:42:43.348411"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.349235"], ["updated_at", "2015-11-12 08:42:43.349235"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 08:42:43.352416"], ["updated_at", "2015-11-12 08:42:43.352416"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:43.353304"], ["updated_at", "2015-11-12 08:42:43.353304"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:43.356301"], ["updated_at", "2015-11-12 08:42:43.356301"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 08:42:43.359861"], ["updated_at", "2015-11-12 08:42:43.359861"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:43.360798"], ["updated_at", "2015-11-12 08:42:43.360798"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:43.363992"], ["updated_at", "2015-11-12 08:42:43.363992"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 08:42:43.367080"], ["updated_at", "2015-11-12 08:42:43.367080"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:43.367961"], ["updated_at", "2015-11-12 08:42:43.367961"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:43.370955"], ["updated_at", "2015-11-12 08:42:43.370955"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 08:42:43.374359"], ["updated_at", "2015-11-12 08:42:43.374359"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:43.375357"], ["updated_at", "2015-11-12 08:42:43.375357"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:43.378466"], ["updated_at", "2015-11-12 08:42:43.378466"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:42.865208"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:43.383616"], ["updated_at", "2015-11-12 08:42:43.383616"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts" MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" ORDER BY "mgca_countries"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? AND ("mgca_country_translations"."name" = '' OR "mgca_country_translations"."name" IS NULL) [["mgca_country_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1 MagicAddresses::State::Translation Load (0.0ms) SELECT "mgca_state_translations".* FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1 MagicAddresses::City::Translation Load (0.0ms) SELECT "mgca_city_translations".* FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1 MagicAddresses::District::Translation Load (0.0ms) SELECT "mgca_district_translations".* FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 MagicAddresses::Subdistrict::Translation Load (0.0ms) SELECT "mgca_subdistrict_translations".* FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" ORDER BY "mgca_states"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? AND ("mgca_state_translations"."name" = '' OR "mgca_state_translations"."name" IS NULL) [["mgca_state_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" ORDER BY "mgca_cities"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? AND ("mgca_city_translations"."name" = '' OR "mgca_city_translations"."name" IS NULL) [["mgca_city_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" ORDER BY "mgca_districts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? AND ("mgca_district_translations"."name" = '' OR "mgca_district_translations"."name" IS NULL) [["mgca_district_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? AND ("mgca_subdistrict_translations"."name" = '' OR "mgca_subdistrict_translations"."name" IS NULL) [["mgca_subdistrict_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? AND ("mgca_address_translations"."street_name" = '' OR "mgca_address_translations"."street_name" IS NULL) [["mgca_address_id", 1]] MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" INNER JOIN "mgca_states" ON "mgca_countries"."id" = "mgca_states"."country_id" INNER JOIN "mgca_cities" ON "mgca_states"."id" = "mgca_cities"."state_id" WHERE "mgca_cities"."id" = ? LIMIT 1 [["id", 1]] MagicAddresses::Country::Translation Load (0.0ms) SELECT "mgca_country_translations".* FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 08:42:43.426713"], ["updated_at", "2015-11-12 08:42:43.426713"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 08:42:43.428919"], ["updated_at", "2015-11-12 08:42:43.428919"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 08:42:43.430563"], ["updated_at", "2015-11-12 08:42:43.430563"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 08:42:43.431799"], ["updated_at", "2015-11-12 08:42:43.431799"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 08:42:43.434847"], ["updated_at", "2015-11-12 08:42:43.434847"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 08:42:43.436097"], ["updated_at", "2015-11-12 08:42:43.436097"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 08:42:43.483984"], ["updated_at", "2015-11-12 08:42:43.483984"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 08:42:43.485867"], ["updated_at", "2015-11-12 08:42:43.485867"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 08:42:43.489854"], ["updated_at", "2015-11-12 08:42:43.489854"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 08:42:43.492209"], ["updated_at", "2015-11-12 08:42:43.492209"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 08:42:43.501988"], ["updated_at", "2015-11-12 08:42:43.501988"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 08:42:43.503610"], ["updated_at", "2015-11-12 08:42:43.503610"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:43.506452"], ["updated_at", "2015-11-12 08:42:43.506452"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 08:42:43.975153"], ["updated_at", "2015-11-12 08:42:43.975153"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.976257"], ["updated_at", "2015-11-12 08:42:43.976257"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.979848"], ["updated_at", "2015-11-12 08:42:43.979848"]] SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:43.980628"], ["updated_at", "2015-11-12 08:42:43.980628"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 08:42:43.983532"], ["updated_at", "2015-11-12 08:42:43.983532"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:43.984366"], ["updated_at", "2015-11-12 08:42:43.984366"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:43.987274"], ["updated_at", "2015-11-12 08:42:43.987274"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 08:42:43.990379"], ["updated_at", "2015-11-12 08:42:43.990379"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:43.991253"], ["updated_at", "2015-11-12 08:42:43.991253"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:43.994102"], ["updated_at", "2015-11-12 08:42:43.994102"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 08:42:43.997124"], ["updated_at", "2015-11-12 08:42:43.997124"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:43.998147"], ["updated_at", "2015-11-12 08:42:43.998147"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:44.000980"], ["updated_at", "2015-11-12 08:42:44.000980"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 08:42:44.003943"], ["updated_at", "2015-11-12 08:42:44.003943"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:44.004800"], ["updated_at", "2015-11-12 08:42:44.004800"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:44.007811"], ["updated_at", "2015-11-12 08:42:44.007811"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-12 08:42:43.503610"], ["updated_at", "2015-11-12 08:42:43.503610"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 08:42:44.012466"], ["updated_at", "2015-11-12 08:42:44.012466"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 08:42:44.014067"], ["updated_at", "2015-11-12 08:42:44.014067"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:44.016420"], ["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 08:42:44.023377"], ["updated_at", "2015-11-12 08:42:44.023377"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 08:42:44.025234"], ["updated_at", "2015-11-12 08:42:44.025234"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 08:42:44.029905"], ["updated_at", "2015-11-12 08:42:44.029905"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### ### ### Country-Params (de) ... Deutschland ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:44.501998"], ["updated_at", "2015-11-12 08:42:44.501998"]] SQL (0.3ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "de"], ["name", "Deutschland"], ["mgca_country_id", 1], ["created_at", "2015-11-12 08:42:44.503125"], ["updated_at", "2015-11-12 08:42:44.503125"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### ### ### State-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 08:42:44.507634"], ["updated_at", "2015-11-12 08:42:44.507634"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### ### ### City-Params (de) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 08:42:44.511700"], ["updated_at", "2015-11-12 08:42:44.511700"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### ### ### District-Params (de) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 08:42:44.516414"], ["updated_at", "2015-11-12 08:42:44.516414"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### ### ### Subdistrict-Params (de) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 08:42:44.520656"], ["updated_at", "2015-11-12 08:42:44.520656"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["created_at", "2015-11-12 08:42:44.025234"], ["updated_at", "2015-11-12 08:42:44.025234"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 08:42:44.525126"], ["updated_at", "2015-11-12 08:42:44.525126"]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 08:42:44.527110"], ["updated_at", "2015-11-12 08:42:44.527110"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", nil], ["updated_at", "2015-11-12 08:42:44.529319"], ["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (2.0ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.6ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.0ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (2.0ms) DELETE FROM "mgca_district_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.4ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.3ms) DELETE FROM "mgca_states";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.8ms) DELETE FROM "mgca_subdistricts";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:37:38.014053"], ["updated_at", "2015-11-12 11:37:38.014053"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.027255"], ["updated_at", "2015-11-12 11:37:38.027255"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:37:38.056533"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:37:38.064831"], ["updated_at", "2015-11-12 11:37:38.064831"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.069742"], ["updated_at", "2015-11-12 11:37:38.069742"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.072069"], ["updated_at", "2015-11-12 11:37:38.072069"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.076611"], ["updated_at", "2015-11-12 11:37:38.076611"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.078782"], ["updated_at", "2015-11-12 11:37:38.078782"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.083654"], ["updated_at", "2015-11-12 11:37:38.083654"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.086022"], ["updated_at", "2015-11-12 11:37:38.086022"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:37:38.101995"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:37:38.104758"], ["updated_at", "2015-11-12 11:37:38.104758"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:37:38.111839"], ["updated_at", "2015-11-12 11:37:38.111839"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:37:38.116347"], ["updated_at", "2015-11-12 11:37:38.116347"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:37:38.119176"], ["updated_at", "2015-11-12 11:37:38.119176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:37:38.121567"], ["updated_at", "2015-11-12 11:37:38.121567"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:37:38.125538"], ["updated_at", "2015-11-12 11:37:38.125538"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:37:38.127563"], ["updated_at", "2015-11-12 11:37:38.127563"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:37:38.200522"], ["updated_at", "2015-11-12 11:37:38.200522"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:37:38.207445"], ["updated_at", "2015-11-12 11:37:38.207445"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:37:38.211001"], ["updated_at", "2015-11-12 11:37:38.211001"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:37:38.213188"], ["updated_at", "2015-11-12 11:37:38.213188"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:37:38.233731"], ["updated_at", "2015-11-12 11:37:38.233731"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:37:38.235579"], ["updated_at", "2015-11-12 11:37:38.235579"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:37:38.238373"], ["updated_at", "2015-11-12 11:37:38.238373"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:37:38.308552"], ["updated_at", "2015-11-12 11:37:38.308552"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.311110"], ["updated_at", "2015-11-12 11:37:38.311110"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:37:38.316072"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:37:38.317986"], ["updated_at", "2015-11-12 11:37:38.317986"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.322251"], ["updated_at", "2015-11-12 11:37:38.322251"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.324464"], ["updated_at", "2015-11-12 11:37:38.324464"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.329179"], ["updated_at", "2015-11-12 11:37:38.329179"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.331812"], ["updated_at", "2015-11-12 11:37:38.331812"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:37:38.338177"], ["updated_at", "2015-11-12 11:37:38.338177"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:37:38.340721"], ["updated_at", "2015-11-12 11:37:38.340721"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:37:38.353646"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:37:38.356761"], ["updated_at", "2015-11-12 11:37:38.356761"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:37:38.363114"], ["updated_at", "2015-11-12 11:37:38.363114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:37:38.364367"], ["updated_at", "2015-11-12 11:37:38.364367"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:37:38.366077"], ["updated_at", "2015-11-12 11:37:38.366077"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:37:38.367536"], ["updated_at", "2015-11-12 11:37:38.367536"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:37:38.370907"], ["updated_at", "2015-11-12 11:37:38.370907"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:37:38.372417"], ["updated_at", "2015-11-12 11:37:38.372417"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:37:38.416636"], ["updated_at", "2015-11-12 11:37:38.416636"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:37:38.418358"], ["updated_at", "2015-11-12 11:37:38.418358"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:37:38.422372"], ["updated_at", "2015-11-12 11:37:38.422372"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:37:38.424545"], ["updated_at", "2015-11-12 11:37:38.424545"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:37:38.434772"], ["updated_at", "2015-11-12 11:37:38.434772"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:37:38.436504"], ["updated_at", "2015-11-12 11:37:38.436504"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:37:38.439162"], ["updated_at", "2015-11-12 11:37:38.439162"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.7ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:38:22.292575"], ["updated_at", "2015-11-12 11:38:22.292575"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.300182"], ["updated_at", "2015-11-12 11:38:22.300182"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:38:22.318586"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:38:22.323417"], ["updated_at", "2015-11-12 11:38:22.323417"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.328847"], ["updated_at", "2015-11-12 11:38:22.328847"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.332346"], ["updated_at", "2015-11-12 11:38:22.332346"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.337931"], ["updated_at", "2015-11-12 11:38:22.337931"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.340388"], ["updated_at", "2015-11-12 11:38:22.340388"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.345861"], ["updated_at", "2015-11-12 11:38:22.345861"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.349507"], ["updated_at", "2015-11-12 11:38:22.349507"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:38:22.364792"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:38:22.367258"], ["updated_at", "2015-11-12 11:38:22.367258"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:38:22.377293"], ["updated_at", "2015-11-12 11:38:22.377293"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:38:22.381589"], ["updated_at", "2015-11-12 11:38:22.381589"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:38:22.384856"], ["updated_at", "2015-11-12 11:38:22.384856"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:38:22.387406"], ["updated_at", "2015-11-12 11:38:22.387406"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:38:22.390726"], ["updated_at", "2015-11-12 11:38:22.390726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:38:22.391955"], ["updated_at", "2015-11-12 11:38:22.391955"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:38:22.465515"], ["updated_at", "2015-11-12 11:38:22.465515"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:38:22.472087"], ["updated_at", "2015-11-12 11:38:22.472087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:38:22.476696"], ["updated_at", "2015-11-12 11:38:22.476696"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:38:22.479147"], ["updated_at", "2015-11-12 11:38:22.479147"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:38:22.500650"], ["updated_at", "2015-11-12 11:38:22.500650"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:38:22.502752"], ["updated_at", "2015-11-12 11:38:22.502752"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:38:22.506036"], ["updated_at", "2015-11-12 11:38:22.506036"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:38:22.574393"], ["updated_at", "2015-11-12 11:38:22.574393"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.576860"], ["updated_at", "2015-11-12 11:38:22.576860"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:38:22.581695"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:38:22.583291"], ["updated_at", "2015-11-12 11:38:22.583291"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.587888"], ["updated_at", "2015-11-12 11:38:22.587888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.591263"], ["updated_at", "2015-11-12 11:38:22.591263"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.597915"], ["updated_at", "2015-11-12 11:38:22.597915"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.601004"], ["updated_at", "2015-11-12 11:38:22.601004"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:38:22.606377"], ["updated_at", "2015-11-12 11:38:22.606377"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:38:22.608947"], ["updated_at", "2015-11-12 11:38:22.608947"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:38:22.619544"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:38:22.621936"], ["updated_at", "2015-11-12 11:38:22.621936"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:38:22.627675"], ["updated_at", "2015-11-12 11:38:22.627675"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:38:22.629097"], ["updated_at", "2015-11-12 11:38:22.629097"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:38:22.630471"], ["updated_at", "2015-11-12 11:38:22.630471"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:38:22.632371"], ["updated_at", "2015-11-12 11:38:22.632371"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:38:22.637277"], ["updated_at", "2015-11-12 11:38:22.637277"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:38:22.639154"], ["updated_at", "2015-11-12 11:38:22.639154"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:38:22.684711"], ["updated_at", "2015-11-12 11:38:22.684711"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:38:22.686390"], ["updated_at", "2015-11-12 11:38:22.686390"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:38:22.690022"], ["updated_at", "2015-11-12 11:38:22.690022"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:38:22.692003"], ["updated_at", "2015-11-12 11:38:22.692003"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:38:22.701509"], ["updated_at", "2015-11-12 11:38:22.701509"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:38:22.703163"], ["updated_at", "2015-11-12 11:38:22.703163"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:38:22.705830"], ["updated_at", "2015-11-12 11:38:22.705830"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.4ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.9ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:39:07.633999"], ["updated_at", "2015-11-12 11:39:07.633999"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:07.641369"], ["updated_at", "2015-11-12 11:39:07.641369"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:39:07.660176"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:39:07.665411"], ["updated_at", "2015-11-12 11:39:07.665411"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:07.672126"], ["updated_at", "2015-11-12 11:39:07.672126"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:07.675351"], ["updated_at", "2015-11-12 11:39:07.675351"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:07.681362"], ["updated_at", "2015-11-12 11:39:07.681362"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:07.684257"], ["updated_at", "2015-11-12 11:39:07.684257"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:07.691008"], ["updated_at", "2015-11-12 11:39:07.691008"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:07.694772"], ["updated_at", "2015-11-12 11:39:07.694772"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:39:07.710667"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:39:07.713752"], ["updated_at", "2015-11-12 11:39:07.713752"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:39:08.371700"], ["updated_at", "2015-11-12 11:39:08.371700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:39:08.375939"], ["updated_at", "2015-11-12 11:39:08.375939"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:39:08.379629"], ["updated_at", "2015-11-12 11:39:08.379629"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:39:08.382105"], ["updated_at", "2015-11-12 11:39:08.382105"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:39:08.385206"], ["updated_at", "2015-11-12 11:39:08.385206"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:39:08.386336"], ["updated_at", "2015-11-12 11:39:08.386336"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:39:08.458127"], ["updated_at", "2015-11-12 11:39:08.458127"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:39:08.466343"], ["updated_at", "2015-11-12 11:39:08.466343"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:39:08.470926"], ["updated_at", "2015-11-12 11:39:08.470926"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:39:08.473519"], ["updated_at", "2015-11-12 11:39:08.473519"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:39:08.492121"], ["updated_at", "2015-11-12 11:39:08.492121"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:39:08.494052"], ["updated_at", "2015-11-12 11:39:08.494052"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:39:08.497264"], ["updated_at", "2015-11-12 11:39:08.497264"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:39:08.644664"], ["updated_at", "2015-11-12 11:39:08.644664"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:08.647365"], ["updated_at", "2015-11-12 11:39:08.647365"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:39:08.652462"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:39:08.654255"], ["updated_at", "2015-11-12 11:39:08.654255"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:08.659490"], ["updated_at", "2015-11-12 11:39:08.659490"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:08.662143"], ["updated_at", "2015-11-12 11:39:08.662143"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:08.666985"], ["updated_at", "2015-11-12 11:39:08.666985"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:08.669238"], ["updated_at", "2015-11-12 11:39:08.669238"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:39:08.673838"], ["updated_at", "2015-11-12 11:39:08.673838"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:39:08.676040"], ["updated_at", "2015-11-12 11:39:08.676040"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:39:08.688928"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:39:08.691394"], ["updated_at", "2015-11-12 11:39:08.691394"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:39:08.782400"], ["updated_at", "2015-11-12 11:39:08.782400"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:39:08.784665"], ["updated_at", "2015-11-12 11:39:08.784665"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:39:08.786446"], ["updated_at", "2015-11-12 11:39:08.786446"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:39:08.787866"], ["updated_at", "2015-11-12 11:39:08.787866"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:39:08.790995"], ["updated_at", "2015-11-12 11:39:08.790995"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:39:08.792321"], ["updated_at", "2015-11-12 11:39:08.792321"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:39:08.837846"], ["updated_at", "2015-11-12 11:39:08.837846"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:39:08.839614"], ["updated_at", "2015-11-12 11:39:08.839614"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:39:08.843094"], ["updated_at", "2015-11-12 11:39:08.843094"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:39:08.845274"], ["updated_at", "2015-11-12 11:39:08.845274"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:39:08.856089"], ["updated_at", "2015-11-12 11:39:08.856089"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:39:08.857831"], ["updated_at", "2015-11-12 11:39:08.857831"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:39:08.860513"], ["updated_at", "2015-11-12 11:39:08.860513"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:41:03.840021"], ["updated_at", "2015-11-12 11:41:03.840021"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:03.847711"], ["updated_at", "2015-11-12 11:41:03.847711"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:41:03.867249"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:41:03.873597"], ["updated_at", "2015-11-12 11:41:03.873597"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:03.879677"], ["updated_at", "2015-11-12 11:41:03.879677"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:03.883318"], ["updated_at", "2015-11-12 11:41:03.883318"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:03.888888"], ["updated_at", "2015-11-12 11:41:03.888888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:03.891284"], ["updated_at", "2015-11-12 11:41:03.891284"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:03.896496"], ["updated_at", "2015-11-12 11:41:03.896496"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:03.900241"], ["updated_at", "2015-11-12 11:41:03.900241"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:41:03.913983"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:41:03.916619"], ["updated_at", "2015-11-12 11:41:03.916619"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:41:04.043407"], ["updated_at", "2015-11-12 11:41:04.043407"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.044386"], ["updated_at", "2015-11-12 11:41:04.044386"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.051473"], ["updated_at", "2015-11-12 11:41:04.051473"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:41:04.059789"], ["updated_at", "2015-11-12 11:41:04.059789"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.060801"], ["updated_at", "2015-11-12 11:41:04.060801"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.067945"], ["updated_at", "2015-11-12 11:41:04.067945"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:41:04.076299"], ["updated_at", "2015-11-12 11:41:04.076299"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.077288"], ["updated_at", "2015-11-12 11:41:04.077288"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.084441"], ["updated_at", "2015-11-12 11:41:04.084441"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:41:04.094643"], ["updated_at", "2015-11-12 11:41:04.094643"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.095921"], ["updated_at", "2015-11-12 11:41:04.095921"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.103099"], ["updated_at", "2015-11-12 11:41:04.103099"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:41:04.113661"], ["updated_at", "2015-11-12 11:41:04.113661"]] SQL (0.2ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.114925"], ["updated_at", "2015-11-12 11:41:04.114925"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.126315"], ["updated_at", "2015-11-12 11:41:04.126315"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:41:03.913983"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:04.208268"], ["updated_at", "2015-11-12 11:41:04.208268"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:41:04.291938"], ["updated_at", "2015-11-12 11:41:04.291938"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:41:04.295797"], ["updated_at", "2015-11-12 11:41:04.295797"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:41:04.298533"], ["updated_at", "2015-11-12 11:41:04.298533"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:41:04.300910"], ["updated_at", "2015-11-12 11:41:04.300910"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:41:04.304475"], ["updated_at", "2015-11-12 11:41:04.304475"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:41:04.305837"], ["updated_at", "2015-11-12 11:41:04.305837"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:41:04.367000"], ["updated_at", "2015-11-12 11:41:04.367000"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:41:04.373823"], ["updated_at", "2015-11-12 11:41:04.373823"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:41:04.377583"], ["updated_at", "2015-11-12 11:41:04.377583"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:41:04.379454"], ["updated_at", "2015-11-12 11:41:04.379454"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:41:04.395688"], ["updated_at", "2015-11-12 11:41:04.395688"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:41:04.397401"], ["updated_at", "2015-11-12 11:41:04.397401"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:04.400374"], ["updated_at", "2015-11-12 11:41:04.400374"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:41:04.499470"], ["updated_at", "2015-11-12 11:41:04.499470"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.500402"], ["updated_at", "2015-11-12 11:41:04.500402"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.506961"], ["updated_at", "2015-11-12 11:41:04.506961"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:41:04.510540"], ["updated_at", "2015-11-12 11:41:04.510540"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.511714"], ["updated_at", "2015-11-12 11:41:04.511714"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.521678"], ["updated_at", "2015-11-12 11:41:04.521678"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:41:04.525206"], ["updated_at", "2015-11-12 11:41:04.525206"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.526178"], ["updated_at", "2015-11-12 11:41:04.526178"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.532633"], ["updated_at", "2015-11-12 11:41:04.532633"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:41:04.535609"], ["updated_at", "2015-11-12 11:41:04.535609"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.536439"], ["updated_at", "2015-11-12 11:41:04.536439"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.542440"], ["updated_at", "2015-11-12 11:41:04.542440"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:41:04.545668"], ["updated_at", "2015-11-12 11:41:04.545668"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.546537"], ["updated_at", "2015-11-12 11:41:04.546537"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.552710"], ["updated_at", "2015-11-12 11:41:04.552710"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:41:04.397401"], ["updated_at", "2015-11-12 11:41:04.397401"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:04.598894"], ["updated_at", "2015-11-12 11:41:04.598894"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:41:04.760114"], ["updated_at", "2015-11-12 11:41:04.760114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:04.762865"], ["updated_at", "2015-11-12 11:41:04.762865"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:41:04.768143"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:41:04.769878"], ["updated_at", "2015-11-12 11:41:04.769878"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:04.774986"], ["updated_at", "2015-11-12 11:41:04.774986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:04.778700"], ["updated_at", "2015-11-12 11:41:04.778700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:04.784897"], ["updated_at", "2015-11-12 11:41:04.784897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:04.787615"], ["updated_at", "2015-11-12 11:41:04.787615"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:41:04.794114"], ["updated_at", "2015-11-12 11:41:04.794114"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "owner_id", "owner_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["owner_id", 1], ["owner_type", "User"], ["created_at", "2015-11-12 11:41:04.797530"], ["updated_at", "2015-11-12 11:41:04.797530"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:41:04.809946"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:41:04.813267"], ["updated_at", "2015-11-12 11:41:04.813267"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:41:04.936071"], ["updated_at", "2015-11-12 11:41:04.936071"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.936979"], ["updated_at", "2015-11-12 11:41:04.936979"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:04.944196"], ["updated_at", "2015-11-12 11:41:04.944196"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:41:04.947189"], ["updated_at", "2015-11-12 11:41:04.947189"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.948059"], ["updated_at", "2015-11-12 11:41:04.948059"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:04.954822"], ["updated_at", "2015-11-12 11:41:04.954822"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:41:04.957979"], ["updated_at", "2015-11-12 11:41:04.957979"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.958833"], ["updated_at", "2015-11-12 11:41:04.958833"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:04.968568"], ["updated_at", "2015-11-12 11:41:04.968568"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:41:04.972508"], ["updated_at", "2015-11-12 11:41:04.972508"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.973577"], ["updated_at", "2015-11-12 11:41:04.973577"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:04.980864"], ["updated_at", "2015-11-12 11:41:04.980864"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:41:04.984007"], ["updated_at", "2015-11-12 11:41:04.984007"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.984850"], ["updated_at", "2015-11-12 11:41:04.984850"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:04.991629"], ["updated_at", "2015-11-12 11:41:04.991629"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:41:04.809946"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:05.041346"], ["updated_at", "2015-11-12 11:41:05.041346"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:41:05.117250"], ["updated_at", "2015-11-12 11:41:05.117250"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:41:05.119093"], ["updated_at", "2015-11-12 11:41:05.119093"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:41:05.120687"], ["updated_at", "2015-11-12 11:41:05.120687"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:41:05.121859"], ["updated_at", "2015-11-12 11:41:05.121859"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:41:05.125624"], ["updated_at", "2015-11-12 11:41:05.125624"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:41:05.127937"], ["updated_at", "2015-11-12 11:41:05.127937"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:41:05.181119"], ["updated_at", "2015-11-12 11:41:05.181119"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:41:05.182809"], ["updated_at", "2015-11-12 11:41:05.182809"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:41:05.187627"], ["updated_at", "2015-11-12 11:41:05.187627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:41:05.189751"], ["updated_at", "2015-11-12 11:41:05.189751"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:41:05.199094"], ["updated_at", "2015-11-12 11:41:05.199094"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:41:05.200737"], ["updated_at", "2015-11-12 11:41:05.200737"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:05.204071"], ["updated_at", "2015-11-12 11:41:05.204071"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:41:05.303360"], ["updated_at", "2015-11-12 11:41:05.303360"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:05.304512"], ["updated_at", "2015-11-12 11:41:05.304512"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:41:05.312643"], ["updated_at", "2015-11-12 11:41:05.312643"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:41:05.315704"], ["updated_at", "2015-11-12 11:41:05.315704"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:05.316543"], ["updated_at", "2015-11-12 11:41:05.316543"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:41:05.322734"], ["updated_at", "2015-11-12 11:41:05.322734"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:41:05.325789"], ["updated_at", "2015-11-12 11:41:05.325789"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:05.326687"], ["updated_at", "2015-11-12 11:41:05.326687"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:41:05.333199"], ["updated_at", "2015-11-12 11:41:05.333199"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:41:05.336158"], ["updated_at", "2015-11-12 11:41:05.336158"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:05.337008"], ["updated_at", "2015-11-12 11:41:05.337008"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:41:05.342964"], ["updated_at", "2015-11-12 11:41:05.342964"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:41:05.346538"], ["updated_at", "2015-11-12 11:41:05.346538"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:05.347496"], ["updated_at", "2015-11-12 11:41:05.347496"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:41:05.354337"], ["updated_at", "2015-11-12 11:41:05.354337"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:41:05.200737"], ["updated_at", "2015-11-12 11:41:05.200737"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:41:05.396439"], ["updated_at", "2015-11-12 11:41:05.396439"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]]  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.0ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:42:45.249119"], ["updated_at", "2015-11-12 11:42:45.249119"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:45.254467"], ["updated_at", "2015-11-12 11:42:45.254467"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:45.257131"], ["updated_at", "2015-11-12 11:42:45.257131"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:45.260206"], ["updated_at", "2015-11-12 11:42:45.260206"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:42:45.264894"], ["updated_at", "2015-11-12 11:42:45.264894"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:42:45.267792"], ["updated_at", "2015-11-12 11:42:45.267792"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:42:45.271055"], ["updated_at", "2015-11-12 11:42:45.271055"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:42:45.273337"], ["updated_at", "2015-11-12 11:42:45.273337"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:42:45.276616"], ["updated_at", "2015-11-12 11:42:45.276616"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:42:45.278138"], ["updated_at", "2015-11-12 11:42:45.278138"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:42:45.353334"], ["updated_at", "2015-11-12 11:42:45.353334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:42:45.362703"], ["updated_at", "2015-11-12 11:42:45.362703"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:42:45.366450"], ["updated_at", "2015-11-12 11:42:45.366450"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:42:45.367979"], ["updated_at", "2015-11-12 11:42:45.367979"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:42:45.393159"], ["updated_at", "2015-11-12 11:42:45.393159"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:42:45.396936"], ["updated_at", "2015-11-12 11:42:45.396936"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:42:45.399664"], ["updated_at", "2015-11-12 11:42:45.399664"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:42:45.513629"], ["updated_at", "2015-11-12 11:42:45.513629"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:45.514662"], ["updated_at", "2015-11-12 11:42:45.514662"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:45.556790"], ["updated_at", "2015-11-12 11:42:45.556790"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.2ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:42:45.566169"], ["updated_at", "2015-11-12 11:42:45.566169"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:45.567456"], ["updated_at", "2015-11-12 11:42:45.567456"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:45.574792"], ["updated_at", "2015-11-12 11:42:45.574792"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:42:45.581683"], ["updated_at", "2015-11-12 11:42:45.581683"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:45.583063"], ["updated_at", "2015-11-12 11:42:45.583063"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:45.590182"], ["updated_at", "2015-11-12 11:42:45.590182"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:42:45.596197"], ["updated_at", "2015-11-12 11:42:45.596197"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:45.597228"], ["updated_at", "2015-11-12 11:42:45.597228"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:45.605727"], ["updated_at", "2015-11-12 11:42:45.605727"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:42:45.612445"], ["updated_at", "2015-11-12 11:42:45.612445"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:45.613493"], ["updated_at", "2015-11-12 11:42:45.613493"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:45.620853"], ["updated_at", "2015-11-12 11:42:45.620853"]] SQL (0.6ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:42:45.396936"], ["updated_at", "2015-11-12 11:42:45.396936"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:42:45.660633"], ["updated_at", "2015-11-12 11:42:45.660633"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:42:45.763989"], ["updated_at", "2015-11-12 11:42:45.763989"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:42:45.770819"], ["updated_at", "2015-11-12 11:42:45.770819"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:42:45.772495"], ["updated_at", "2015-11-12 11:42:45.772495"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:42:45.775127"], ["updated_at", "2015-11-12 11:42:45.775127"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:45.887108"], ["updated_at", "2015-11-12 11:42:45.887108"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:45.894557"], ["updated_at", "2015-11-12 11:42:45.894557"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:45.905635"], ["updated_at", "2015-11-12 11:42:45.905635"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:45.914066"], ["updated_at", "2015-11-12 11:42:45.914066"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:45.921197"], ["updated_at", "2015-11-12 11:42:45.921197"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:42:45.772495"], ["updated_at", "2015-11-12 11:42:45.772495"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:42:45.962449"], ["updated_at", "2015-11-12 11:42:45.962449"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:42:46.054427"], ["updated_at", "2015-11-12 11:42:46.054427"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:42:46.091269"], ["updated_at", "2015-11-12 11:42:46.091269"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:46.094720"], ["updated_at", "2015-11-12 11:42:46.094720"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:46.098483"], ["updated_at", "2015-11-12 11:42:46.098483"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:42:46.102757"], ["updated_at", "2015-11-12 11:42:46.102757"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:42:46.107394"], ["updated_at", "2015-11-12 11:42:46.107394"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:42:46.109036"], ["updated_at", "2015-11-12 11:42:46.109036"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:42:46.110695"], ["updated_at", "2015-11-12 11:42:46.110695"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:42:46.112095"], ["updated_at", "2015-11-12 11:42:46.112095"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:42:46.115595"], ["updated_at", "2015-11-12 11:42:46.115595"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:42:46.116823"], ["updated_at", "2015-11-12 11:42:46.116823"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:42:46.180926"], ["updated_at", "2015-11-12 11:42:46.180926"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:42:46.183374"], ["updated_at", "2015-11-12 11:42:46.183374"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:42:46.188007"], ["updated_at", "2015-11-12 11:42:46.188007"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:42:46.190782"], ["updated_at", "2015-11-12 11:42:46.190782"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:42:46.201465"], ["updated_at", "2015-11-12 11:42:46.201465"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:42:46.203152"], ["updated_at", "2015-11-12 11:42:46.203152"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:42:46.207707"], ["updated_at", "2015-11-12 11:42:46.207707"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:42:46.328916"], ["updated_at", "2015-11-12 11:42:46.328916"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:46.330618"], ["updated_at", "2015-11-12 11:42:46.330618"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:46.338749"], ["updated_at", "2015-11-12 11:42:46.338749"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:42:46.341797"], ["updated_at", "2015-11-12 11:42:46.341797"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:46.342637"], ["updated_at", "2015-11-12 11:42:46.342637"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:46.350706"], ["updated_at", "2015-11-12 11:42:46.350706"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:42:46.354630"], ["updated_at", "2015-11-12 11:42:46.354630"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:46.355643"], ["updated_at", "2015-11-12 11:42:46.355643"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:46.362441"], ["updated_at", "2015-11-12 11:42:46.362441"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:42:46.365491"], ["updated_at", "2015-11-12 11:42:46.365491"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:46.366348"], ["updated_at", "2015-11-12 11:42:46.366348"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:46.372308"], ["updated_at", "2015-11-12 11:42:46.372308"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:42:46.375449"], ["updated_at", "2015-11-12 11:42:46.375449"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:46.376368"], ["updated_at", "2015-11-12 11:42:46.376368"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:46.382689"], ["updated_at", "2015-11-12 11:42:46.382689"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:42:46.203152"], ["updated_at", "2015-11-12 11:42:46.203152"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:42:46.423763"], ["updated_at", "2015-11-12 11:42:46.423763"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:42:46.509479"], ["updated_at", "2015-11-12 11:42:46.509479"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:42:46.516470"], ["updated_at", "2015-11-12 11:42:46.516470"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:42:46.517986"], ["updated_at", "2015-11-12 11:42:46.517986"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:42:46.520665"], ["updated_at", "2015-11-12 11:42:46.520665"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:42:46.629187"], ["updated_at", "2015-11-12 11:42:46.629187"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:42:46.638642"], ["updated_at", "2015-11-12 11:42:46.638642"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:42:46.645921"], ["updated_at", "2015-11-12 11:42:46.645921"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:42:46.653204"], ["updated_at", "2015-11-12 11:42:46.653204"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:42:46.661264"], ["updated_at", "2015-11-12 11:42:46.661264"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:42:46.517986"], ["updated_at", "2015-11-12 11:42:46.517986"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:42:46.711858"], ["updated_at", "2015-11-12 11:42:46.711858"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:42:46.796479"], ["updated_at", "2015-11-12 11:42:46.796479"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.6ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:43:53.445967"], ["updated_at", "2015-11-12 11:43:53.445967"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:53.462028"], ["updated_at", "2015-11-12 11:43:53.462028"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:53.464964"], ["updated_at", "2015-11-12 11:43:53.464964"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:53.467609"], ["updated_at", "2015-11-12 11:43:53.467609"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:43:53.472434"], ["updated_at", "2015-11-12 11:43:53.472434"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:43:53.476226"], ["updated_at", "2015-11-12 11:43:53.476226"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:43:53.479420"], ["updated_at", "2015-11-12 11:43:53.479420"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:43:53.481722"], ["updated_at", "2015-11-12 11:43:53.481722"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:43:53.484794"], ["updated_at", "2015-11-12 11:43:53.484794"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:43:53.485917"], ["updated_at", "2015-11-12 11:43:53.485917"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:43:53.562537"], ["updated_at", "2015-11-12 11:43:53.562537"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:43:53.571183"], ["updated_at", "2015-11-12 11:43:53.571183"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:43:53.574986"], ["updated_at", "2015-11-12 11:43:53.574986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:43:53.577091"], ["updated_at", "2015-11-12 11:43:53.577091"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:43:53.598350"], ["updated_at", "2015-11-12 11:43:53.598350"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:43:53.602491"], ["updated_at", "2015-11-12 11:43:53.602491"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:43:53.605660"], ["updated_at", "2015-11-12 11:43:53.605660"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:43:53.716171"], ["updated_at", "2015-11-12 11:43:53.716171"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:53.717174"], ["updated_at", "2015-11-12 11:43:53.717174"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:53.757586"], ["updated_at", "2015-11-12 11:43:53.757586"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:43:53.763923"], ["updated_at", "2015-11-12 11:43:53.763923"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:53.764903"], ["updated_at", "2015-11-12 11:43:53.764903"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:53.771596"], ["updated_at", "2015-11-12 11:43:53.771596"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:43:53.779896"], ["updated_at", "2015-11-12 11:43:53.779896"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:53.781306"], ["updated_at", "2015-11-12 11:43:53.781306"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:53.789007"], ["updated_at", "2015-11-12 11:43:53.789007"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:43:53.794752"], ["updated_at", "2015-11-12 11:43:53.794752"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:53.795793"], ["updated_at", "2015-11-12 11:43:53.795793"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:53.801953"], ["updated_at", "2015-11-12 11:43:53.801953"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:43:53.808863"], ["updated_at", "2015-11-12 11:43:53.808863"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:53.809977"], ["updated_at", "2015-11-12 11:43:53.809977"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:53.816977"], ["updated_at", "2015-11-12 11:43:53.816977"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:43:53.602491"], ["updated_at", "2015-11-12 11:43:53.602491"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:43:53.856297"], ["updated_at", "2015-11-12 11:43:53.856297"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:43:53.945101"], ["updated_at", "2015-11-12 11:43:53.945101"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:43:53.952614"], ["updated_at", "2015-11-12 11:43:53.952614"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:43:53.954015"], ["updated_at", "2015-11-12 11:43:53.954015"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:43:53.956690"], ["updated_at", "2015-11-12 11:43:53.956690"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:54.090463"], ["updated_at", "2015-11-12 11:43:54.090463"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:54.101389"], ["updated_at", "2015-11-12 11:43:54.101389"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:54.109628"], ["updated_at", "2015-11-12 11:43:54.109628"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:54.116800"], ["updated_at", "2015-11-12 11:43:54.116800"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:54.124602"], ["updated_at", "2015-11-12 11:43:54.124602"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:43:53.954015"], ["updated_at", "2015-11-12 11:43:53.954015"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:43:54.163666"], ["updated_at", "2015-11-12 11:43:54.163666"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:43:54.250501"], ["updated_at", "2015-11-12 11:43:54.250501"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:43:54.288969"], ["updated_at", "2015-11-12 11:43:54.288969"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:54.292660"], ["updated_at", "2015-11-12 11:43:54.292660"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:54.295714"], ["updated_at", "2015-11-12 11:43:54.295714"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:43:54.298544"], ["updated_at", "2015-11-12 11:43:54.298544"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:43:54.301719"], ["updated_at", "2015-11-12 11:43:54.301719"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:43:54.303155"], ["updated_at", "2015-11-12 11:43:54.303155"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:43:54.304476"], ["updated_at", "2015-11-12 11:43:54.304476"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:43:54.305653"], ["updated_at", "2015-11-12 11:43:54.305653"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:43:54.308997"], ["updated_at", "2015-11-12 11:43:54.308997"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:43:54.310326"], ["updated_at", "2015-11-12 11:43:54.310326"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:43:54.371669"], ["updated_at", "2015-11-12 11:43:54.371669"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:43:54.373391"], ["updated_at", "2015-11-12 11:43:54.373391"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:43:54.377378"], ["updated_at", "2015-11-12 11:43:54.377378"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:43:54.379983"], ["updated_at", "2015-11-12 11:43:54.379983"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:43:54.391492"], ["updated_at", "2015-11-12 11:43:54.391492"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:43:54.393739"], ["updated_at", "2015-11-12 11:43:54.393739"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:43:54.396933"], ["updated_at", "2015-11-12 11:43:54.396933"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:43:54.512109"], ["updated_at", "2015-11-12 11:43:54.512109"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:54.513034"], ["updated_at", "2015-11-12 11:43:54.513034"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:54.519399"], ["updated_at", "2015-11-12 11:43:54.519399"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:43:54.522393"], ["updated_at", "2015-11-12 11:43:54.522393"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:54.523235"], ["updated_at", "2015-11-12 11:43:54.523235"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:54.529520"], ["updated_at", "2015-11-12 11:43:54.529520"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:43:54.532730"], ["updated_at", "2015-11-12 11:43:54.532730"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:54.533649"], ["updated_at", "2015-11-12 11:43:54.533649"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:54.540419"], ["updated_at", "2015-11-12 11:43:54.540419"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:43:54.543657"], ["updated_at", "2015-11-12 11:43:54.543657"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:54.544541"], ["updated_at", "2015-11-12 11:43:54.544541"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:54.550826"], ["updated_at", "2015-11-12 11:43:54.550826"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:43:54.554163"], ["updated_at", "2015-11-12 11:43:54.554163"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:54.555019"], ["updated_at", "2015-11-12 11:43:54.555019"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:54.563848"], ["updated_at", "2015-11-12 11:43:54.563848"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:43:54.393739"], ["updated_at", "2015-11-12 11:43:54.393739"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:43:54.605620"], ["updated_at", "2015-11-12 11:43:54.605620"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:43:54.684475"], ["updated_at", "2015-11-12 11:43:54.684475"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:43:54.692045"], ["updated_at", "2015-11-12 11:43:54.692045"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:43:54.694469"], ["updated_at", "2015-11-12 11:43:54.694469"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:43:54.698089"], ["updated_at", "2015-11-12 11:43:54.698089"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:43:54.804462"], ["updated_at", "2015-11-12 11:43:54.804462"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:43:54.812708"], ["updated_at", "2015-11-12 11:43:54.812708"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:43:54.819961"], ["updated_at", "2015-11-12 11:43:54.819961"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:43:54.827476"], ["updated_at", "2015-11-12 11:43:54.827476"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:43:54.834988"], ["updated_at", "2015-11-12 11:43:54.834988"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:43:54.694469"], ["updated_at", "2015-11-12 11:43:54.694469"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:43:54.878186"], ["updated_at", "2015-11-12 11:43:54.878186"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:43:54.986702"], ["updated_at", "2015-11-12 11:43:54.986702"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.1ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:47:02.216611"], ["updated_at", "2015-11-12 11:47:02.216611"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:02.229837"], ["updated_at", "2015-11-12 11:47:02.229837"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:02.233090"], ["updated_at", "2015-11-12 11:47:02.233090"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:02.236253"], ["updated_at", "2015-11-12 11:47:02.236253"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:47:02.240444"], ["updated_at", "2015-11-12 11:47:02.240444"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:47:02.243662"], ["updated_at", "2015-11-12 11:47:02.243662"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:47:02.247089"], ["updated_at", "2015-11-12 11:47:02.247089"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:47:02.249342"], ["updated_at", "2015-11-12 11:47:02.249342"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:47:02.253561"], ["updated_at", "2015-11-12 11:47:02.253561"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:47:02.255917"], ["updated_at", "2015-11-12 11:47:02.255917"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:47:02.335324"], ["updated_at", "2015-11-12 11:47:02.335324"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:47:02.344476"], ["updated_at", "2015-11-12 11:47:02.344476"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:47:02.350179"], ["updated_at", "2015-11-12 11:47:02.350179"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:47:02.352649"], ["updated_at", "2015-11-12 11:47:02.352649"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:47:02.373038"], ["updated_at", "2015-11-12 11:47:02.373038"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:47:02.377146"], ["updated_at", "2015-11-12 11:47:02.377146"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:47:02.379932"], ["updated_at", "2015-11-12 11:47:02.379932"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:47:02.537983"], ["updated_at", "2015-11-12 11:47:02.537983"]] SQL (0.2ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:02.539451"], ["updated_at", "2015-11-12 11:47:02.539451"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:02.583947"], ["updated_at", "2015-11-12 11:47:02.583947"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:47:02.591829"], ["updated_at", "2015-11-12 11:47:02.591829"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:02.593122"], ["updated_at", "2015-11-12 11:47:02.593122"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:02.600893"], ["updated_at", "2015-11-12 11:47:02.600893"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:47:02.607281"], ["updated_at", "2015-11-12 11:47:02.607281"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:02.608319"], ["updated_at", "2015-11-12 11:47:02.608319"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:02.614563"], ["updated_at", "2015-11-12 11:47:02.614563"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:47:02.620999"], ["updated_at", "2015-11-12 11:47:02.620999"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:02.622187"], ["updated_at", "2015-11-12 11:47:02.622187"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:02.628905"], ["updated_at", "2015-11-12 11:47:02.628905"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:47:02.635173"], ["updated_at", "2015-11-12 11:47:02.635173"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:02.636243"], ["updated_at", "2015-11-12 11:47:02.636243"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:02.645841"], ["updated_at", "2015-11-12 11:47:02.645841"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:47:02.377146"], ["updated_at", "2015-11-12 11:47:02.377146"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:47:02.685630"], ["updated_at", "2015-11-12 11:47:02.685630"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:47:02.826273"], ["updated_at", "2015-11-12 11:47:02.826273"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:47:02.832471"], ["updated_at", "2015-11-12 11:47:02.832471"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:47:02.833853"], ["updated_at", "2015-11-12 11:47:02.833853"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:47:02.836484"], ["updated_at", "2015-11-12 11:47:02.836484"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:02.949491"], ["updated_at", "2015-11-12 11:47:02.949491"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:02.957652"], ["updated_at", "2015-11-12 11:47:02.957652"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:02.964930"], ["updated_at", "2015-11-12 11:47:02.964930"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:02.971956"], ["updated_at", "2015-11-12 11:47:02.971956"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:02.979042"], ["updated_at", "2015-11-12 11:47:02.979042"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:47:02.833853"], ["updated_at", "2015-11-12 11:47:02.833853"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:47:03.017117"], ["updated_at", "2015-11-12 11:47:03.017117"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:47:03.107433"], ["updated_at", "2015-11-12 11:47:03.107433"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:47:03.143778"], ["updated_at", "2015-11-12 11:47:03.143778"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:03.147350"], ["updated_at", "2015-11-12 11:47:03.147350"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:03.151284"], ["updated_at", "2015-11-12 11:47:03.151284"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:47:03.154821"], ["updated_at", "2015-11-12 11:47:03.154821"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:47:03.158632"], ["updated_at", "2015-11-12 11:47:03.158632"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:47:03.159996"], ["updated_at", "2015-11-12 11:47:03.159996"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:47:03.161374"], ["updated_at", "2015-11-12 11:47:03.161374"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:47:03.162465"], ["updated_at", "2015-11-12 11:47:03.162465"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:47:03.165472"], ["updated_at", "2015-11-12 11:47:03.165472"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:47:03.166876"], ["updated_at", "2015-11-12 11:47:03.166876"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (10.9ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:47:03.227255"], ["updated_at", "2015-11-12 11:47:03.227255"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:47:03.229034"], ["updated_at", "2015-11-12 11:47:03.229034"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:47:03.233178"], ["updated_at", "2015-11-12 11:47:03.233178"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:47:03.235820"], ["updated_at", "2015-11-12 11:47:03.235820"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:47:03.246036"], ["updated_at", "2015-11-12 11:47:03.246036"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:47:03.247740"], ["updated_at", "2015-11-12 11:47:03.247740"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:47:03.250495"], ["updated_at", "2015-11-12 11:47:03.250495"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:47:03.401238"], ["updated_at", "2015-11-12 11:47:03.401238"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:03.402130"], ["updated_at", "2015-11-12 11:47:03.402130"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:03.408522"], ["updated_at", "2015-11-12 11:47:03.408522"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:47:03.411562"], ["updated_at", "2015-11-12 11:47:03.411562"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:03.412413"], ["updated_at", "2015-11-12 11:47:03.412413"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:03.419017"], ["updated_at", "2015-11-12 11:47:03.419017"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:47:03.422429"], ["updated_at", "2015-11-12 11:47:03.422429"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:03.423361"], ["updated_at", "2015-11-12 11:47:03.423361"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:03.429523"], ["updated_at", "2015-11-12 11:47:03.429523"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:47:03.432480"], ["updated_at", "2015-11-12 11:47:03.432480"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:03.433285"], ["updated_at", "2015-11-12 11:47:03.433285"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:03.439378"], ["updated_at", "2015-11-12 11:47:03.439378"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:47:03.442612"], ["updated_at", "2015-11-12 11:47:03.442612"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:03.443486"], ["updated_at", "2015-11-12 11:47:03.443486"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:03.449512"], ["updated_at", "2015-11-12 11:47:03.449512"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:47:03.247740"], ["updated_at", "2015-11-12 11:47:03.247740"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:47:03.492927"], ["updated_at", "2015-11-12 11:47:03.492927"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:47:03.581475"], ["updated_at", "2015-11-12 11:47:03.581475"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:47:03.588338"], ["updated_at", "2015-11-12 11:47:03.588338"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:47:03.590063"], ["updated_at", "2015-11-12 11:47:03.590063"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:47:03.592861"], ["updated_at", "2015-11-12 11:47:03.592861"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:47:03.707532"], ["updated_at", "2015-11-12 11:47:03.707532"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:47:03.715005"], ["updated_at", "2015-11-12 11:47:03.715005"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:47:03.723297"], ["updated_at", "2015-11-12 11:47:03.723297"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:47:03.730902"], ["updated_at", "2015-11-12 11:47:03.730902"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:47:03.738614"], ["updated_at", "2015-11-12 11:47:03.738614"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:47:03.590063"], ["updated_at", "2015-11-12 11:47:03.590063"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:47:03.777157"], ["updated_at", "2015-11-12 11:47:03.777157"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:47:03.860400"], ["updated_at", "2015-11-12 11:47:03.860400"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.9ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:53:21.212108"], ["updated_at", "2015-11-12 11:53:21.212108"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:21.233692"], ["updated_at", "2015-11-12 11:53:21.233692"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 11:53:21.235944"], ["updated_at", "2015-11-12 11:53:21.235944"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:53:21.247967"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:53:21.250786"], ["updated_at", "2015-11-12 11:53:21.250786"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:21.258023"], ["updated_at", "2015-11-12 11:53:21.258023"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:21.261648"], ["updated_at", "2015-11-12 11:53:21.261648"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:21.263357"], ["updated_at", "2015-11-12 11:53:21.263357"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:21.269392"], ["updated_at", "2015-11-12 11:53:21.269392"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:21.272833"], ["updated_at", "2015-11-12 11:53:21.272833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:21.274460"], ["updated_at", "2015-11-12 11:53:21.274460"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:21.280050"], ["updated_at", "2015-11-12 11:53:21.280050"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:21.283041"], ["updated_at", "2015-11-12 11:53:21.283041"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:21.284559"], ["updated_at", "2015-11-12 11:53:21.284559"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:53:21.296016"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:53:21.298264"], ["updated_at", "2015-11-12 11:53:21.298264"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:53:21.472882"], ["updated_at", "2015-11-12 11:53:21.472882"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:21.473994"], ["updated_at", "2015-11-12 11:53:21.473994"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:21.481128"], ["updated_at", "2015-11-12 11:53:21.481128"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:53:21.489116"], ["updated_at", "2015-11-12 11:53:21.489116"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:21.490048"], ["updated_at", "2015-11-12 11:53:21.490048"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:21.497068"], ["updated_at", "2015-11-12 11:53:21.497068"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:53:21.505956"], ["updated_at", "2015-11-12 11:53:21.505956"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:21.507122"], ["updated_at", "2015-11-12 11:53:21.507122"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:21.514736"], ["updated_at", "2015-11-12 11:53:21.514736"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:53:21.522917"], ["updated_at", "2015-11-12 11:53:21.522917"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:21.523943"], ["updated_at", "2015-11-12 11:53:21.523943"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:21.531393"], ["updated_at", "2015-11-12 11:53:21.531393"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:53:21.540058"], ["updated_at", "2015-11-12 11:53:21.540058"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:21.541074"], ["updated_at", "2015-11-12 11:53:21.541074"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:21.548966"], ["updated_at", "2015-11-12 11:53:21.548966"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:53:21.296016"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:21.632247"], ["updated_at", "2015-11-12 11:53:21.632247"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:53:21.726621"], ["updated_at", "2015-11-12 11:53:21.726621"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:53:21.731759"], ["updated_at", "2015-11-12 11:53:21.731759"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:53:21.735883"], ["updated_at", "2015-11-12 11:53:21.735883"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:53:21.738913"], ["updated_at", "2015-11-12 11:53:21.738913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:53:21.742404"], ["updated_at", "2015-11-12 11:53:21.742404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:53:21.743643"], ["updated_at", "2015-11-12 11:53:21.743643"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:53:21.802799"], ["updated_at", "2015-11-12 11:53:21.802799"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:53:21.812866"], ["updated_at", "2015-11-12 11:53:21.812866"]]  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:53:21.818503"], ["updated_at", "2015-11-12 11:53:21.818503"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:53:21.821085"], ["updated_at", "2015-11-12 11:53:21.821085"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:53:21.835399"], ["updated_at", "2015-11-12 11:53:21.835399"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:53:21.837355"], ["updated_at", "2015-11-12 11:53:21.837355"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:21.840145"], ["updated_at", "2015-11-12 11:53:21.840145"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:53:21.943373"], ["updated_at", "2015-11-12 11:53:21.943373"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:21.944295"], ["updated_at", "2015-11-12 11:53:21.944295"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:21.950664"], ["updated_at", "2015-11-12 11:53:21.950664"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:53:21.953565"], ["updated_at", "2015-11-12 11:53:21.953565"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:21.954434"], ["updated_at", "2015-11-12 11:53:21.954434"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:21.960423"], ["updated_at", "2015-11-12 11:53:21.960423"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:53:21.963615"], ["updated_at", "2015-11-12 11:53:21.963615"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:21.964493"], ["updated_at", "2015-11-12 11:53:21.964493"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:21.972854"], ["updated_at", "2015-11-12 11:53:21.972854"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:53:21.976503"], ["updated_at", "2015-11-12 11:53:21.976503"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:21.977530"], ["updated_at", "2015-11-12 11:53:21.977530"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:21.983864"], ["updated_at", "2015-11-12 11:53:21.983864"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:53:21.986904"], ["updated_at", "2015-11-12 11:53:21.986904"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:21.987749"], ["updated_at", "2015-11-12 11:53:21.987749"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:21.993807"], ["updated_at", "2015-11-12 11:53:21.993807"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:53:21.837355"], ["updated_at", "2015-11-12 11:53:21.837355"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:22.033886"], ["updated_at", "2015-11-12 11:53:22.033886"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:53:22.117854"], ["updated_at", "2015-11-12 11:53:22.117854"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:53:22.127027"], ["updated_at", "2015-11-12 11:53:22.127027"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:53:22.128780"], ["updated_at", "2015-11-12 11:53:22.128780"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:53:22.131830"], ["updated_at", "2015-11-12 11:53:22.131830"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:22.253058"], ["updated_at", "2015-11-12 11:53:22.253058"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:22.260481"], ["updated_at", "2015-11-12 11:53:22.260481"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:22.268009"], ["updated_at", "2015-11-12 11:53:22.268009"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:22.275853"], ["updated_at", "2015-11-12 11:53:22.275853"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:22.283523"], ["updated_at", "2015-11-12 11:53:22.283523"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:53:22.128780"], ["updated_at", "2015-11-12 11:53:22.128780"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:53:22.323477"], ["updated_at", "2015-11-12 11:53:22.323477"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:53:22.407533"], ["updated_at", "2015-11-12 11:53:22.407533"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:53:22.442468"], ["updated_at", "2015-11-12 11:53:22.442468"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:22.445095"], ["updated_at", "2015-11-12 11:53:22.445095"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 11:53:22.446433"], ["updated_at", "2015-11-12 11:53:22.446433"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:53:22.451234"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:53:22.453164"], ["updated_at", "2015-11-12 11:53:22.453164"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:22.458060"], ["updated_at", "2015-11-12 11:53:22.458060"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:22.460841"], ["updated_at", "2015-11-12 11:53:22.460841"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:22.462564"], ["updated_at", "2015-11-12 11:53:22.462564"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:22.468440"], ["updated_at", "2015-11-12 11:53:22.468440"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:22.470985"], ["updated_at", "2015-11-12 11:53:22.470985"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:22.472134"], ["updated_at", "2015-11-12 11:53:22.472134"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:53:22.476730"], ["updated_at", "2015-11-12 11:53:22.476730"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:53:22.479004"], ["updated_at", "2015-11-12 11:53:22.479004"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:53:22.480301"], ["updated_at", "2015-11-12 11:53:22.480301"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:53:22.489837"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:53:22.492765"], ["updated_at", "2015-11-12 11:53:22.492765"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:53:22.614928"], ["updated_at", "2015-11-12 11:53:22.614928"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:22.616560"], ["updated_at", "2015-11-12 11:53:22.616560"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:22.626664"], ["updated_at", "2015-11-12 11:53:22.626664"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:53:22.629850"], ["updated_at", "2015-11-12 11:53:22.629850"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:22.630678"], ["updated_at", "2015-11-12 11:53:22.630678"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:22.637667"], ["updated_at", "2015-11-12 11:53:22.637667"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:53:22.640658"], ["updated_at", "2015-11-12 11:53:22.640658"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:22.641505"], ["updated_at", "2015-11-12 11:53:22.641505"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:22.648613"], ["updated_at", "2015-11-12 11:53:22.648613"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:53:22.652075"], ["updated_at", "2015-11-12 11:53:22.652075"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:22.652993"], ["updated_at", "2015-11-12 11:53:22.652993"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:22.660873"], ["updated_at", "2015-11-12 11:53:22.660873"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:53:22.665990"], ["updated_at", "2015-11-12 11:53:22.665990"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:22.667228"], ["updated_at", "2015-11-12 11:53:22.667228"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:22.675957"], ["updated_at", "2015-11-12 11:53:22.675957"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:53:22.489837"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:22.723257"], ["updated_at", "2015-11-12 11:53:22.723257"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:53:22.822197"], ["updated_at", "2015-11-12 11:53:22.822197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:53:22.824163"], ["updated_at", "2015-11-12 11:53:22.824163"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:53:22.825948"], ["updated_at", "2015-11-12 11:53:22.825948"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:53:22.827366"], ["updated_at", "2015-11-12 11:53:22.827366"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:53:22.830725"], ["updated_at", "2015-11-12 11:53:22.830725"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:53:22.832148"], ["updated_at", "2015-11-12 11:53:22.832148"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (15.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:53:22.895068"], ["updated_at", "2015-11-12 11:53:22.895068"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:53:22.896698"], ["updated_at", "2015-11-12 11:53:22.896698"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:53:22.899827"], ["updated_at", "2015-11-12 11:53:22.899827"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:53:22.901443"], ["updated_at", "2015-11-12 11:53:22.901443"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:53:22.910785"], ["updated_at", "2015-11-12 11:53:22.910785"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:53:22.912944"], ["updated_at", "2015-11-12 11:53:22.912944"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:22.915916"], ["updated_at", "2015-11-12 11:53:22.915916"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:53:23.027756"], ["updated_at", "2015-11-12 11:53:23.027756"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:23.028789"], ["updated_at", "2015-11-12 11:53:23.028789"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:23.035491"], ["updated_at", "2015-11-12 11:53:23.035491"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:53:23.038564"], ["updated_at", "2015-11-12 11:53:23.038564"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:23.039404"], ["updated_at", "2015-11-12 11:53:23.039404"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:23.045614"], ["updated_at", "2015-11-12 11:53:23.045614"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:53:23.048623"], ["updated_at", "2015-11-12 11:53:23.048623"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:23.049611"], ["updated_at", "2015-11-12 11:53:23.049611"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:23.055637"], ["updated_at", "2015-11-12 11:53:23.055637"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:53:23.059401"], ["updated_at", "2015-11-12 11:53:23.059401"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:23.060331"], ["updated_at", "2015-11-12 11:53:23.060331"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:23.066757"], ["updated_at", "2015-11-12 11:53:23.066757"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:53:23.070248"], ["updated_at", "2015-11-12 11:53:23.070248"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:23.071216"], ["updated_at", "2015-11-12 11:53:23.071216"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:23.077573"], ["updated_at", "2015-11-12 11:53:23.077573"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:53:22.912944"], ["updated_at", "2015-11-12 11:53:22.912944"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:53:23.122434"], ["updated_at", "2015-11-12 11:53:23.122434"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:53:23.209634"], ["updated_at", "2015-11-12 11:53:23.209634"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:53:23.217013"], ["updated_at", "2015-11-12 11:53:23.217013"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:53:23.218534"], ["updated_at", "2015-11-12 11:53:23.218534"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:53:23.221288"], ["updated_at", "2015-11-12 11:53:23.221288"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:53:23.328111"], ["updated_at", "2015-11-12 11:53:23.328111"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:53:23.338911"], ["updated_at", "2015-11-12 11:53:23.338911"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:53:23.348975"], ["updated_at", "2015-11-12 11:53:23.348975"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:53:23.357746"], ["updated_at", "2015-11-12 11:53:23.357746"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:53:23.365969"], ["updated_at", "2015-11-12 11:53:23.365969"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:53:23.218534"], ["updated_at", "2015-11-12 11:53:23.218534"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:53:23.412722"], ["updated_at", "2015-11-12 11:53:23.412722"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:53:23.517404"], ["updated_at", "2015-11-12 11:53:23.517404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.7ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.8ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.9ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:54:24.783455"], ["updated_at", "2015-11-12 11:54:24.783455"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:24.802809"], ["updated_at", "2015-11-12 11:54:24.802809"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 11:54:24.805067"], ["updated_at", "2015-11-12 11:54:24.805067"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:54:24.818284"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:54:24.820967"], ["updated_at", "2015-11-12 11:54:24.820967"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:24.827183"], ["updated_at", "2015-11-12 11:54:24.827183"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:24.829437"], ["updated_at", "2015-11-12 11:54:24.829437"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:24.831007"], ["updated_at", "2015-11-12 11:54:24.831007"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:24.835361"], ["updated_at", "2015-11-12 11:54:24.835361"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:24.837737"], ["updated_at", "2015-11-12 11:54:24.837737"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:24.839439"], ["updated_at", "2015-11-12 11:54:24.839439"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:24.845347"], ["updated_at", "2015-11-12 11:54:24.845347"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:24.847847"], ["updated_at", "2015-11-12 11:54:24.847847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:24.849314"], ["updated_at", "2015-11-12 11:54:24.849314"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:54:24.859712"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:54:24.862234"], ["updated_at", "2015-11-12 11:54:24.862234"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:54:24.996105"], ["updated_at", "2015-11-12 11:54:24.996105"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:24.997178"], ["updated_at", "2015-11-12 11:54:24.997178"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:25.004650"], ["updated_at", "2015-11-12 11:54:25.004650"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:54:25.012699"], ["updated_at", "2015-11-12 11:54:25.012699"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:25.013673"], ["updated_at", "2015-11-12 11:54:25.013673"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:25.021155"], ["updated_at", "2015-11-12 11:54:25.021155"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:54:25.029762"], ["updated_at", "2015-11-12 11:54:25.029762"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:25.030818"], ["updated_at", "2015-11-12 11:54:25.030818"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:25.037716"], ["updated_at", "2015-11-12 11:54:25.037716"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:54:25.045725"], ["updated_at", "2015-11-12 11:54:25.045725"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:25.046682"], ["updated_at", "2015-11-12 11:54:25.046682"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:25.054424"], ["updated_at", "2015-11-12 11:54:25.054424"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:54:25.064047"], ["updated_at", "2015-11-12 11:54:25.064047"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:25.065092"], ["updated_at", "2015-11-12 11:54:25.065092"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:25.073460"], ["updated_at", "2015-11-12 11:54:25.073460"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:54:24.859712"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:25.157243"], ["updated_at", "2015-11-12 11:54:25.157243"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:54:25.246655"], ["updated_at", "2015-11-12 11:54:25.246655"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:54:25.251025"], ["updated_at", "2015-11-12 11:54:25.251025"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:54:25.254543"], ["updated_at", "2015-11-12 11:54:25.254543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:54:25.257017"], ["updated_at", "2015-11-12 11:54:25.257017"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:54:25.261002"], ["updated_at", "2015-11-12 11:54:25.261002"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:54:25.263041"], ["updated_at", "2015-11-12 11:54:25.263041"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:54:25.322460"], ["updated_at", "2015-11-12 11:54:25.322460"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:54:25.329406"], ["updated_at", "2015-11-12 11:54:25.329406"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:54:25.334150"], ["updated_at", "2015-11-12 11:54:25.334150"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:54:25.337001"], ["updated_at", "2015-11-12 11:54:25.337001"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:54:25.353619"], ["updated_at", "2015-11-12 11:54:25.353619"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:54:25.355914"], ["updated_at", "2015-11-12 11:54:25.355914"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:25.359144"], ["updated_at", "2015-11-12 11:54:25.359144"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:54:25.461219"], ["updated_at", "2015-11-12 11:54:25.461219"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:25.462275"], ["updated_at", "2015-11-12 11:54:25.462275"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:25.469419"], ["updated_at", "2015-11-12 11:54:25.469419"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:54:25.472764"], ["updated_at", "2015-11-12 11:54:25.472764"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:25.473588"], ["updated_at", "2015-11-12 11:54:25.473588"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:25.480314"], ["updated_at", "2015-11-12 11:54:25.480314"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:54:25.483804"], ["updated_at", "2015-11-12 11:54:25.483804"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:25.484995"], ["updated_at", "2015-11-12 11:54:25.484995"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:25.492111"], ["updated_at", "2015-11-12 11:54:25.492111"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:54:25.495611"], ["updated_at", "2015-11-12 11:54:25.495611"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:25.496606"], ["updated_at", "2015-11-12 11:54:25.496606"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:25.503243"], ["updated_at", "2015-11-12 11:54:25.503243"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:54:25.507167"], ["updated_at", "2015-11-12 11:54:25.507167"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:25.508633"], ["updated_at", "2015-11-12 11:54:25.508633"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:25.515003"], ["updated_at", "2015-11-12 11:54:25.515003"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:54:25.355914"], ["updated_at", "2015-11-12 11:54:25.355914"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:25.559033"], ["updated_at", "2015-11-12 11:54:25.559033"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:54:25.644993"], ["updated_at", "2015-11-12 11:54:25.644993"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:54:25.651954"], ["updated_at", "2015-11-12 11:54:25.651954"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:54:25.653440"], ["updated_at", "2015-11-12 11:54:25.653440"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:54:25.656263"], ["updated_at", "2015-11-12 11:54:25.656263"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:25.781774"], ["updated_at", "2015-11-12 11:54:25.781774"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:25.789745"], ["updated_at", "2015-11-12 11:54:25.789745"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:25.798218"], ["updated_at", "2015-11-12 11:54:25.798218"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:25.806516"], ["updated_at", "2015-11-12 11:54:25.806516"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:25.814685"], ["updated_at", "2015-11-12 11:54:25.814685"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:54:25.653440"], ["updated_at", "2015-11-12 11:54:25.653440"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:54:25.858845"], ["updated_at", "2015-11-12 11:54:25.858845"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:54:25.947269"], ["updated_at", "2015-11-12 11:54:25.947269"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 11:54:25.984948"], ["updated_at", "2015-11-12 11:54:25.984948"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:25.987481"], ["updated_at", "2015-11-12 11:54:25.987481"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 11:54:25.988833"], ["updated_at", "2015-11-12 11:54:25.988833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 11:54:25.992924"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 11:54:25.994557"], ["updated_at", "2015-11-12 11:54:25.994557"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:26.000015"], ["updated_at", "2015-11-12 11:54:26.000015"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:26.003608"], ["updated_at", "2015-11-12 11:54:26.003608"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2[0m SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:26.005310"], ["updated_at", "2015-11-12 11:54:26.005310"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:26.010970"], ["updated_at", "2015-11-12 11:54:26.010970"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:26.013239"], ["updated_at", "2015-11-12 11:54:26.013239"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:26.014450"], ["updated_at", "2015-11-12 11:54:26.014450"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 11:54:26.019200"], ["updated_at", "2015-11-12 11:54:26.019200"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 11:54:26.021714"], ["updated_at", "2015-11-12 11:54:26.021714"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 11:54:26.022944"], ["updated_at", "2015-11-12 11:54:26.022944"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 11:54:26.034882"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 11:54:26.038430"], ["updated_at", "2015-11-12 11:54:26.038430"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:54:26.145391"], ["updated_at", "2015-11-12 11:54:26.145391"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:26.146227"], ["updated_at", "2015-11-12 11:54:26.146227"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:26.152949"], ["updated_at", "2015-11-12 11:54:26.152949"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:54:26.155740"], ["updated_at", "2015-11-12 11:54:26.155740"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:26.156540"], ["updated_at", "2015-11-12 11:54:26.156540"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:26.163496"], ["updated_at", "2015-11-12 11:54:26.163496"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:54:26.168966"], ["updated_at", "2015-11-12 11:54:26.168966"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:26.170214"], ["updated_at", "2015-11-12 11:54:26.170214"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:26.178555"], ["updated_at", "2015-11-12 11:54:26.178555"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:54:26.182752"], ["updated_at", "2015-11-12 11:54:26.182752"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:26.184411"], ["updated_at", "2015-11-12 11:54:26.184411"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:26.193625"], ["updated_at", "2015-11-12 11:54:26.193625"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:54:26.196968"], ["updated_at", "2015-11-12 11:54:26.196968"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:26.197865"], ["updated_at", "2015-11-12 11:54:26.197865"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:26.205433"], ["updated_at", "2015-11-12 11:54:26.205433"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 11:54:26.034882"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:26.256502"], ["updated_at", "2015-11-12 11:54:26.256502"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 11:54:26.351619"], ["updated_at", "2015-11-12 11:54:26.351619"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 11:54:26.353677"], ["updated_at", "2015-11-12 11:54:26.353677"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 11:54:26.355572"], ["updated_at", "2015-11-12 11:54:26.355572"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 11:54:26.357101"], ["updated_at", "2015-11-12 11:54:26.357101"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 11:54:26.360493"], ["updated_at", "2015-11-12 11:54:26.360493"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 11:54:26.361856"], ["updated_at", "2015-11-12 11:54:26.361856"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:54:26.424591"], ["updated_at", "2015-11-12 11:54:26.424591"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:54:26.426450"], ["updated_at", "2015-11-12 11:54:26.426450"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 11:54:26.430473"], ["updated_at", "2015-11-12 11:54:26.430473"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 11:54:26.432860"], ["updated_at", "2015-11-12 11:54:26.432860"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 11:54:26.443204"], ["updated_at", "2015-11-12 11:54:26.443204"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:54:26.444917"], ["updated_at", "2015-11-12 11:54:26.444917"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:26.447762"], ["updated_at", "2015-11-12 11:54:26.447762"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 11:54:26.584413"], ["updated_at", "2015-11-12 11:54:26.584413"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:26.585458"], ["updated_at", "2015-11-12 11:54:26.585458"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:26.592313"], ["updated_at", "2015-11-12 11:54:26.592313"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 11:54:26.595386"], ["updated_at", "2015-11-12 11:54:26.595386"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:26.596250"], ["updated_at", "2015-11-12 11:54:26.596250"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:26.603203"], ["updated_at", "2015-11-12 11:54:26.603203"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 11:54:26.606489"], ["updated_at", "2015-11-12 11:54:26.606489"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:26.607456"], ["updated_at", "2015-11-12 11:54:26.607456"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:26.614014"], ["updated_at", "2015-11-12 11:54:26.614014"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 11:54:26.617233"], ["updated_at", "2015-11-12 11:54:26.617233"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:26.618306"], ["updated_at", "2015-11-12 11:54:26.618306"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:26.625186"], ["updated_at", "2015-11-12 11:54:26.625186"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 11:54:26.628473"], ["updated_at", "2015-11-12 11:54:26.628473"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:26.629432"], ["updated_at", "2015-11-12 11:54:26.629432"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:26.638705"], ["updated_at", "2015-11-12 11:54:26.638705"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:54:26.444917"], ["updated_at", "2015-11-12 11:54:26.444917"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 11:54:26.684425"], ["updated_at", "2015-11-12 11:54:26.684425"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 11:54:26.786738"], ["updated_at", "2015-11-12 11:54:26.786738"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 11:54:26.793314"], ["updated_at", "2015-11-12 11:54:26.793314"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 11:54:26.794700"], ["updated_at", "2015-11-12 11:54:26.794700"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:54:26.797416"], ["updated_at", "2015-11-12 11:54:26.797416"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 11:54:26.911060"], ["updated_at", "2015-11-12 11:54:26.911060"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 11:54:26.920042"], ["updated_at", "2015-11-12 11:54:26.920042"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 11:54:26.927673"], ["updated_at", "2015-11-12 11:54:26.927673"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 11:54:26.935315"], ["updated_at", "2015-11-12 11:54:26.935315"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 11:54:26.942772"], ["updated_at", "2015-11-12 11:54:26.942772"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 11:54:26.794700"], ["updated_at", "2015-11-12 11:54:26.794700"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 11:54:26.983905"], ["updated_at", "2015-11-12 11:54:26.983905"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 11:54:27.101334"], ["updated_at", "2015-11-12 11:54:27.101334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (2.0ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.5ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.5ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.0ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.4ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (1.0ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.5ms) DELETE FROM "mgca_states";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (1.0ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.6ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.1ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 12:03:06.285964"], ["updated_at", "2015-11-12 12:03:06.285964"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:06.318743"], ["updated_at", "2015-11-12 12:03:06.318743"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 12:03:06.321404"], ["updated_at", "2015-11-12 12:03:06.321404"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 12:03:06.337966"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 12:03:06.340378"], ["updated_at", "2015-11-12 12:03:06.340378"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:06.348210"], ["updated_at", "2015-11-12 12:03:06.348210"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:06.350631"], ["updated_at", "2015-11-12 12:03:06.350631"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:06.351907"], ["updated_at", "2015-11-12 12:03:06.351907"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:06.357588"], ["updated_at", "2015-11-12 12:03:06.357588"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:06.360067"], ["updated_at", "2015-11-12 12:03:06.360067"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:06.361513"], ["updated_at", "2015-11-12 12:03:06.361513"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:06.366352"], ["updated_at", "2015-11-12 12:03:06.366352"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:06.368515"], ["updated_at", "2015-11-12 12:03:06.368515"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:06.370057"], ["updated_at", "2015-11-12 12:03:06.370057"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 12:03:06.383215"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 12:03:06.385761"], ["updated_at", "2015-11-12 12:03:06.385761"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.2ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 12:03:06.546005"], ["updated_at", "2015-11-12 12:03:06.546005"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:06.547963"], ["updated_at", "2015-11-12 12:03:06.547963"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:06.558985"], ["updated_at", "2015-11-12 12:03:06.558985"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 12:03:06.571159"], ["updated_at", "2015-11-12 12:03:06.571159"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:06.572854"], ["updated_at", "2015-11-12 12:03:06.572854"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:06.581420"], ["updated_at", "2015-11-12 12:03:06.581420"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 12:03:06.591009"], ["updated_at", "2015-11-12 12:03:06.591009"]] SQL (0.2ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:06.593000"], ["updated_at", "2015-11-12 12:03:06.593000"]] ### ### city .. magic_city ### SQL (0.2ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:06.604701"], ["updated_at", "2015-11-12 12:03:06.604701"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 12:03:06.615123"], ["updated_at", "2015-11-12 12:03:06.615123"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:06.616246"], ["updated_at", "2015-11-12 12:03:06.616246"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:06.623602"], ["updated_at", "2015-11-12 12:03:06.623602"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.3ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 12:03:06.636420"], ["updated_at", "2015-11-12 12:03:06.636420"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:06.638448"], ["updated_at", "2015-11-12 12:03:06.638448"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:06.687001"], ["updated_at", "2015-11-12 12:03:06.687001"]] SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 12:03:06.383215"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:06.749476"], ["updated_at", "2015-11-12 12:03:06.749476"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 12:03:06.877654"], ["updated_at", "2015-11-12 12:03:06.877654"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 12:03:06.883114"], ["updated_at", "2015-11-12 12:03:06.883114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 12:03:06.886868"], ["updated_at", "2015-11-12 12:03:06.886868"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 12:03:06.889749"], ["updated_at", "2015-11-12 12:03:06.889749"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 12:03:06.893803"], ["updated_at", "2015-11-12 12:03:06.893803"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 12:03:06.895849"], ["updated_at", "2015-11-12 12:03:06.895849"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 12:03:06.957346"], ["updated_at", "2015-11-12 12:03:06.957346"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 12:03:06.964485"], ["updated_at", "2015-11-12 12:03:06.964485"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 12:03:06.968102"], ["updated_at", "2015-11-12 12:03:06.968102"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 12:03:06.969932"], ["updated_at", "2015-11-12 12:03:06.969932"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 12:03:06.983433"], ["updated_at", "2015-11-12 12:03:06.983433"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 12:03:06.985273"], ["updated_at", "2015-11-12 12:03:06.985273"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:06.988252"], ["updated_at", "2015-11-12 12:03:06.988252"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 12:03:07.129681"], ["updated_at", "2015-11-12 12:03:07.129681"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:07.130614"], ["updated_at", "2015-11-12 12:03:07.130614"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:07.136736"], ["updated_at", "2015-11-12 12:03:07.136736"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 12:03:07.139720"], ["updated_at", "2015-11-12 12:03:07.139720"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:07.140666"], ["updated_at", "2015-11-12 12:03:07.140666"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:07.147649"], ["updated_at", "2015-11-12 12:03:07.147649"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 12:03:07.150798"], ["updated_at", "2015-11-12 12:03:07.150798"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:07.151711"], ["updated_at", "2015-11-12 12:03:07.151711"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:07.157688"], ["updated_at", "2015-11-12 12:03:07.157688"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 12:03:07.160864"], ["updated_at", "2015-11-12 12:03:07.160864"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:07.161799"], ["updated_at", "2015-11-12 12:03:07.161799"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:07.168128"], ["updated_at", "2015-11-12 12:03:07.168128"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 12:03:07.171904"], ["updated_at", "2015-11-12 12:03:07.171904"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:07.173023"], ["updated_at", "2015-11-12 12:03:07.173023"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:07.179296"], ["updated_at", "2015-11-12 12:03:07.179296"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 12:03:06.985273"], ["updated_at", "2015-11-12 12:03:06.985273"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:07.222293"], ["updated_at", "2015-11-12 12:03:07.222293"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 12:03:07.330018"], ["updated_at", "2015-11-12 12:03:07.330018"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 12:03:07.337543"], ["updated_at", "2015-11-12 12:03:07.337543"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 12:03:07.339082"], ["updated_at", "2015-11-12 12:03:07.339082"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 12:03:07.341792"], ["updated_at", "2015-11-12 12:03:07.341792"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:07.468732"], ["updated_at", "2015-11-12 12:03:07.468732"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:07.479442"], ["updated_at", "2015-11-12 12:03:07.479442"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:07.488312"], ["updated_at", "2015-11-12 12:03:07.488312"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:07.495962"], ["updated_at", "2015-11-12 12:03:07.495962"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:07.503559"], ["updated_at", "2015-11-12 12:03:07.503559"]] SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 12:03:07.339082"], ["updated_at", "2015-11-12 12:03:07.339082"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 12:03:07.551706"], ["updated_at", "2015-11-12 12:03:07.551706"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 12:03:07.632596"], ["updated_at", "2015-11-12 12:03:07.632596"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 12:03:07.665514"], ["updated_at", "2015-11-12 12:03:07.665514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:07.668138"], ["updated_at", "2015-11-12 12:03:07.668138"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 12:03:07.669319"], ["updated_at", "2015-11-12 12:03:07.669319"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 12:03:07.673682"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 12:03:07.675395"], ["updated_at", "2015-11-12 12:03:07.675395"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:07.680131"], ["updated_at", "2015-11-12 12:03:07.680131"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:07.682439"], ["updated_at", "2015-11-12 12:03:07.682439"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:07.683539"], ["updated_at", "2015-11-12 12:03:07.683539"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:07.688227"], ["updated_at", "2015-11-12 12:03:07.688227"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:07.690594"], ["updated_at", "2015-11-12 12:03:07.690594"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:07.691783"], ["updated_at", "2015-11-12 12:03:07.691783"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 12:03:07.696289"], ["updated_at", "2015-11-12 12:03:07.696289"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 12:03:07.698505"], ["updated_at", "2015-11-12 12:03:07.698505"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 12:03:07.699664"], ["updated_at", "2015-11-12 12:03:07.699664"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 12:03:07.709496"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 12:03:07.712207"], ["updated_at", "2015-11-12 12:03:07.712207"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 12:03:07.826534"], ["updated_at", "2015-11-12 12:03:07.826534"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:07.827434"], ["updated_at", "2015-11-12 12:03:07.827434"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:07.834183"], ["updated_at", "2015-11-12 12:03:07.834183"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 12:03:07.837048"], ["updated_at", "2015-11-12 12:03:07.837048"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:07.837898"], ["updated_at", "2015-11-12 12:03:07.837898"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:07.848358"], ["updated_at", "2015-11-12 12:03:07.848358"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 12:03:07.853892"], ["updated_at", "2015-11-12 12:03:07.853892"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:07.855464"], ["updated_at", "2015-11-12 12:03:07.855464"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:07.866013"], ["updated_at", "2015-11-12 12:03:07.866013"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 12:03:07.870225"], ["updated_at", "2015-11-12 12:03:07.870225"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:07.871348"], ["updated_at", "2015-11-12 12:03:07.871348"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:07.882412"], ["updated_at", "2015-11-12 12:03:07.882412"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 12:03:07.886418"], ["updated_at", "2015-11-12 12:03:07.886418"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:07.887468"], ["updated_at", "2015-11-12 12:03:07.887468"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:07.895239"], ["updated_at", "2015-11-12 12:03:07.895239"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 12:03:07.709496"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:07.958932"], ["updated_at", "2015-11-12 12:03:07.958932"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 12:03:08.054480"], ["updated_at", "2015-11-12 12:03:08.054480"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 12:03:08.056382"], ["updated_at", "2015-11-12 12:03:08.056382"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 12:03:08.058048"], ["updated_at", "2015-11-12 12:03:08.058048"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 12:03:08.059287"], ["updated_at", "2015-11-12 12:03:08.059287"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 12:03:08.079372"], ["updated_at", "2015-11-12 12:03:08.079372"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 12:03:08.081052"], ["updated_at", "2015-11-12 12:03:08.081052"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 12:03:08.134566"], ["updated_at", "2015-11-12 12:03:08.134566"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 12:03:08.136294"], ["updated_at", "2015-11-12 12:03:08.136294"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 12:03:08.139197"], ["updated_at", "2015-11-12 12:03:08.139197"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 12:03:08.140649"], ["updated_at", "2015-11-12 12:03:08.140649"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 12:03:08.149418"], ["updated_at", "2015-11-12 12:03:08.149418"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 12:03:08.151133"], ["updated_at", "2015-11-12 12:03:08.151133"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:08.154803"], ["updated_at", "2015-11-12 12:03:08.154803"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.2ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 12:03:08.270433"], ["updated_at", "2015-11-12 12:03:08.270433"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:08.272114"], ["updated_at", "2015-11-12 12:03:08.272114"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:08.282390"], ["updated_at", "2015-11-12 12:03:08.282390"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 12:03:08.286668"], ["updated_at", "2015-11-12 12:03:08.286668"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:08.287877"], ["updated_at", "2015-11-12 12:03:08.287877"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:08.296998"], ["updated_at", "2015-11-12 12:03:08.296998"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 12:03:08.300841"], ["updated_at", "2015-11-12 12:03:08.300841"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:08.302588"], ["updated_at", "2015-11-12 12:03:08.302588"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:08.311805"], ["updated_at", "2015-11-12 12:03:08.311805"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 12:03:08.317198"], ["updated_at", "2015-11-12 12:03:08.317198"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:08.318548"], ["updated_at", "2015-11-12 12:03:08.318548"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:08.329490"], ["updated_at", "2015-11-12 12:03:08.329490"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 12:03:08.333395"], ["updated_at", "2015-11-12 12:03:08.333395"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:08.334463"], ["updated_at", "2015-11-12 12:03:08.334463"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:08.340913"], ["updated_at", "2015-11-12 12:03:08.340913"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 12:03:08.151133"], ["updated_at", "2015-11-12 12:03:08.151133"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 12:03:08.392319"], ["updated_at", "2015-11-12 12:03:08.392319"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 12:03:08.501358"], ["updated_at", "2015-11-12 12:03:08.501358"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 12:03:08.508759"], ["updated_at", "2015-11-12 12:03:08.508759"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 12:03:08.510332"], ["updated_at", "2015-11-12 12:03:08.510332"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 12:03:08.513550"], ["updated_at", "2015-11-12 12:03:08.513550"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.8ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 12:03:08.613396"], ["updated_at", "2015-11-12 12:03:08.613396"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 12:03:08.623947"], ["updated_at", "2015-11-12 12:03:08.623947"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 12:03:08.634623"], ["updated_at", "2015-11-12 12:03:08.634623"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 12:03:08.643406"], ["updated_at", "2015-11-12 12:03:08.643406"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 12:03:08.653669"], ["updated_at", "2015-11-12 12:03:08.653669"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 12:03:08.510332"], ["updated_at", "2015-11-12 12:03:08.510332"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 12:03:08.707203"], ["updated_at", "2015-11-12 12:03:08.707203"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (16.8ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 12:03:08.836968"], ["updated_at", "2015-11-12 12:03:08.836968"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.1ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.9ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.5ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.1ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.5ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.2ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.2ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.3ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 19:48:06.851684"], ["updated_at", "2015-11-12 19:48:06.851684"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:06.881514"], ["updated_at", "2015-11-12 19:48:06.881514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 19:48:06.884000"], ["updated_at", "2015-11-12 19:48:06.884000"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 19:48:06.900870"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 19:48:06.904154"], ["updated_at", "2015-11-12 19:48:06.904154"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:06.913211"], ["updated_at", "2015-11-12 19:48:06.913211"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:06.916165"], ["updated_at", "2015-11-12 19:48:06.916165"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:06.917594"], ["updated_at", "2015-11-12 19:48:06.917594"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:06.923060"], ["updated_at", "2015-11-12 19:48:06.923060"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:06.926664"], ["updated_at", "2015-11-12 19:48:06.926664"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:06.928273"], ["updated_at", "2015-11-12 19:48:06.928273"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:06.934292"], ["updated_at", "2015-11-12 19:48:06.934292"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:06.937155"], ["updated_at", "2015-11-12 19:48:06.937155"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:06.938888"], ["updated_at", "2015-11-12 19:48:06.938888"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 19:48:06.950884"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 19:48:06.953240"], ["updated_at", "2015-11-12 19:48:06.953240"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:07.647844"], ["updated_at", "2015-11-12 19:48:07.647844"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:07.648927"], ["updated_at", "2015-11-12 19:48:07.648927"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:07.658820"], ["updated_at", "2015-11-12 19:48:07.658820"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:07.671194"], ["updated_at", "2015-11-12 19:48:07.671194"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:07.672561"], ["updated_at", "2015-11-12 19:48:07.672561"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:07.680779"], ["updated_at", "2015-11-12 19:48:07.680779"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:07.693614"], ["updated_at", "2015-11-12 19:48:07.693614"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:07.694782"], ["updated_at", "2015-11-12 19:48:07.694782"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.2ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:07.705460"], ["updated_at", "2015-11-12 19:48:07.705460"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:07.715115"], ["updated_at", "2015-11-12 19:48:07.715115"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:07.716206"], ["updated_at", "2015-11-12 19:48:07.716206"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:07.726825"], ["updated_at", "2015-11-12 19:48:07.726825"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:07.739842"], ["updated_at", "2015-11-12 19:48:07.739842"]] SQL (0.2ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:07.741350"], ["updated_at", "2015-11-12 19:48:07.741350"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:07.753140"], ["updated_at", "2015-11-12 19:48:07.753140"]] SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 19:48:06.950884"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:07.851085"], ["updated_at", "2015-11-12 19:48:07.851085"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 19:48:07.946220"], ["updated_at", "2015-11-12 19:48:07.946220"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 19:48:07.951168"], ["updated_at", "2015-11-12 19:48:07.951168"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 19:48:07.954541"], ["updated_at", "2015-11-12 19:48:07.954541"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 19:48:07.957168"], ["updated_at", "2015-11-12 19:48:07.957168"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 19:48:07.960442"], ["updated_at", "2015-11-12 19:48:07.960442"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 19:48:07.961626"], ["updated_at", "2015-11-12 19:48:07.961626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:08.029570"], ["updated_at", "2015-11-12 19:48:08.029570"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:08.038683"], ["updated_at", "2015-11-12 19:48:08.038683"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:08.044013"], ["updated_at", "2015-11-12 19:48:08.044013"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:08.046163"], ["updated_at", "2015-11-12 19:48:08.046163"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 19:48:08.065292"], ["updated_at", "2015-11-12 19:48:08.065292"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:08.067536"], ["updated_at", "2015-11-12 19:48:08.067536"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:08.070645"], ["updated_at", "2015-11-12 19:48:08.070645"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:08.173605"], ["updated_at", "2015-11-12 19:48:08.173605"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:08.174725"], ["updated_at", "2015-11-12 19:48:08.174725"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:08.181561"], ["updated_at", "2015-11-12 19:48:08.181561"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:08.184634"], ["updated_at", "2015-11-12 19:48:08.184634"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:08.186280"], ["updated_at", "2015-11-12 19:48:08.186280"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:08.194408"], ["updated_at", "2015-11-12 19:48:08.194408"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:08.197599"], ["updated_at", "2015-11-12 19:48:08.197599"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:08.198540"], ["updated_at", "2015-11-12 19:48:08.198540"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:08.205810"], ["updated_at", "2015-11-12 19:48:08.205810"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:08.210356"], ["updated_at", "2015-11-12 19:48:08.210356"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:08.211499"], ["updated_at", "2015-11-12 19:48:08.211499"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:08.221294"], ["updated_at", "2015-11-12 19:48:08.221294"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:08.226182"], ["updated_at", "2015-11-12 19:48:08.226182"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:08.228037"], ["updated_at", "2015-11-12 19:48:08.228037"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:08.237042"], ["updated_at", "2015-11-12 19:48:08.237042"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:08.067536"], ["updated_at", "2015-11-12 19:48:08.067536"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:08.281033"], ["updated_at", "2015-11-12 19:48:08.281033"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 19:48:08.363453"], ["updated_at", "2015-11-12 19:48:08.363453"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 19:48:08.373521"], ["updated_at", "2015-11-12 19:48:08.373521"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:08.376315"], ["updated_at", "2015-11-12 19:48:08.376315"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:08.380428"], ["updated_at", "2015-11-12 19:48:08.380428"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:08.512253"], ["updated_at", "2015-11-12 19:48:08.512253"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:08.520676"], ["updated_at", "2015-11-12 19:48:08.520676"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:08.532029"], ["updated_at", "2015-11-12 19:48:08.532029"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:08.542357"], ["updated_at", "2015-11-12 19:48:08.542357"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:08.550042"], ["updated_at", "2015-11-12 19:48:08.550042"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:08.376315"], ["updated_at", "2015-11-12 19:48:08.376315"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:08.603014"], ["updated_at", "2015-11-12 19:48:08.603014"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 19:48:08.728532"], ["updated_at", "2015-11-12 19:48:08.728532"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 19:48:08.763726"], ["updated_at", "2015-11-12 19:48:08.763726"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:08.767346"], ["updated_at", "2015-11-12 19:48:08.767346"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 19:48:08.768962"], ["updated_at", "2015-11-12 19:48:08.768962"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 19:48:08.773925"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 19:48:08.775700"], ["updated_at", "2015-11-12 19:48:08.775700"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:08.780687"], ["updated_at", "2015-11-12 19:48:08.780687"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:08.783686"], ["updated_at", "2015-11-12 19:48:08.783686"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:08.784999"], ["updated_at", "2015-11-12 19:48:08.784999"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:08.790251"], ["updated_at", "2015-11-12 19:48:08.790251"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:08.792617"], ["updated_at", "2015-11-12 19:48:08.792617"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:08.793791"], ["updated_at", "2015-11-12 19:48:08.793791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:08.798887"], ["updated_at", "2015-11-12 19:48:08.798887"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:08.802591"], ["updated_at", "2015-11-12 19:48:08.802591"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:08.804433"], ["updated_at", "2015-11-12 19:48:08.804433"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 19:48:08.817104"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 19:48:08.819799"], ["updated_at", "2015-11-12 19:48:08.819799"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:08.925894"], ["updated_at", "2015-11-12 19:48:08.925894"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:08.927222"], ["updated_at", "2015-11-12 19:48:08.927222"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:08.937151"], ["updated_at", "2015-11-12 19:48:08.937151"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:08.941495"], ["updated_at", "2015-11-12 19:48:08.941495"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:08.942698"], ["updated_at", "2015-11-12 19:48:08.942698"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:08.953390"], ["updated_at", "2015-11-12 19:48:08.953390"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:08.957294"], ["updated_at", "2015-11-12 19:48:08.957294"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:08.958305"], ["updated_at", "2015-11-12 19:48:08.958305"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:08.965488"], ["updated_at", "2015-11-12 19:48:08.965488"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:08.971066"], ["updated_at", "2015-11-12 19:48:08.971066"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:08.972348"], ["updated_at", "2015-11-12 19:48:08.972348"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:08.982696"], ["updated_at", "2015-11-12 19:48:08.982696"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:08.987800"], ["updated_at", "2015-11-12 19:48:08.987800"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:08.989319"], ["updated_at", "2015-11-12 19:48:08.989319"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:09.002606"], ["updated_at", "2015-11-12 19:48:09.002606"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 19:48:08.817104"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:09.071798"], ["updated_at", "2015-11-12 19:48:09.071798"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 19:48:09.167937"], ["updated_at", "2015-11-12 19:48:09.167937"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 19:48:09.169473"], ["updated_at", "2015-11-12 19:48:09.169473"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 19:48:09.171262"], ["updated_at", "2015-11-12 19:48:09.171262"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 19:48:09.172548"], ["updated_at", "2015-11-12 19:48:09.172548"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 19:48:09.176548"], ["updated_at", "2015-11-12 19:48:09.176548"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 19:48:09.178068"], ["updated_at", "2015-11-12 19:48:09.178068"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:09.248169"], ["updated_at", "2015-11-12 19:48:09.248169"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:09.250184"], ["updated_at", "2015-11-12 19:48:09.250184"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:09.254418"], ["updated_at", "2015-11-12 19:48:09.254418"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:09.256752"], ["updated_at", "2015-11-12 19:48:09.256752"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 19:48:09.267373"], ["updated_at", "2015-11-12 19:48:09.267373"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:09.269274"], ["updated_at", "2015-11-12 19:48:09.269274"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:09.272868"], ["updated_at", "2015-11-12 19:48:09.272868"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:09.412694"], ["updated_at", "2015-11-12 19:48:09.412694"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:09.413732"], ["updated_at", "2015-11-12 19:48:09.413732"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:09.421196"], ["updated_at", "2015-11-12 19:48:09.421196"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:09.424313"], ["updated_at", "2015-11-12 19:48:09.424313"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:09.425175"], ["updated_at", "2015-11-12 19:48:09.425175"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:09.433297"], ["updated_at", "2015-11-12 19:48:09.433297"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:09.438091"], ["updated_at", "2015-11-12 19:48:09.438091"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:09.439216"], ["updated_at", "2015-11-12 19:48:09.439216"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:09.449204"], ["updated_at", "2015-11-12 19:48:09.449204"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:09.453663"], ["updated_at", "2015-11-12 19:48:09.453663"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:09.455362"], ["updated_at", "2015-11-12 19:48:09.455362"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:09.464652"], ["updated_at", "2015-11-12 19:48:09.464652"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:09.469902"], ["updated_at", "2015-11-12 19:48:09.469902"]] SQL (0.2ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:09.471680"], ["updated_at", "2015-11-12 19:48:09.471680"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:09.482538"], ["updated_at", "2015-11-12 19:48:09.482538"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:09.269274"], ["updated_at", "2015-11-12 19:48:09.269274"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:09.534402"], ["updated_at", "2015-11-12 19:48:09.534402"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 19:48:09.654561"], ["updated_at", "2015-11-12 19:48:09.654561"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 19:48:09.664641"], ["updated_at", "2015-11-12 19:48:09.664641"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:09.667041"], ["updated_at", "2015-11-12 19:48:09.667041"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:09.671648"], ["updated_at", "2015-11-12 19:48:09.671648"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:09.788080"], ["updated_at", "2015-11-12 19:48:09.788080"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:09.799218"], ["updated_at", "2015-11-12 19:48:09.799218"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:09.808217"], ["updated_at", "2015-11-12 19:48:09.808217"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:09.816983"], ["updated_at", "2015-11-12 19:48:09.816983"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:09.827281"], ["updated_at", "2015-11-12 19:48:09.827281"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:09.667041"], ["updated_at", "2015-11-12 19:48:09.667041"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:09.880052"], ["updated_at", "2015-11-12 19:48:09.880052"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 19:48:10.064260"], ["updated_at", "2015-11-12 19:48:10.064260"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (4.6ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.4ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 19:48:30.750327"], ["updated_at", "2015-11-12 19:48:30.750327"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:30.774936"], ["updated_at", "2015-11-12 19:48:30.774936"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 19:48:30.777345"], ["updated_at", "2015-11-12 19:48:30.777345"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 19:48:30.790430"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 19:48:30.793105"], ["updated_at", "2015-11-12 19:48:30.793105"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:30.799625"], ["updated_at", "2015-11-12 19:48:30.799625"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:30.802281"], ["updated_at", "2015-11-12 19:48:30.802281"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:30.803702"], ["updated_at", "2015-11-12 19:48:30.803702"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:30.808504"], ["updated_at", "2015-11-12 19:48:30.808504"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:30.810867"], ["updated_at", "2015-11-12 19:48:30.810867"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:30.812143"], ["updated_at", "2015-11-12 19:48:30.812143"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:30.816816"], ["updated_at", "2015-11-12 19:48:30.816816"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:30.819404"], ["updated_at", "2015-11-12 19:48:30.819404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:30.820952"], ["updated_at", "2015-11-12 19:48:30.820952"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 19:48:30.833537"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 19:48:30.837052"], ["updated_at", "2015-11-12 19:48:30.837052"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:30.979896"], ["updated_at", "2015-11-12 19:48:30.979896"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:30.981183"], ["updated_at", "2015-11-12 19:48:30.981183"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:30.990445"], ["updated_at", "2015-11-12 19:48:30.990445"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:31.000518"], ["updated_at", "2015-11-12 19:48:31.000518"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:31.001966"], ["updated_at", "2015-11-12 19:48:31.001966"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:31.012377"], ["updated_at", "2015-11-12 19:48:31.012377"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:31.023827"], ["updated_at", "2015-11-12 19:48:31.023827"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:31.025233"], ["updated_at", "2015-11-12 19:48:31.025233"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:31.034208"], ["updated_at", "2015-11-12 19:48:31.034208"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.2ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:31.043739"], ["updated_at", "2015-11-12 19:48:31.043739"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:31.044975"], ["updated_at", "2015-11-12 19:48:31.044975"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:31.052591"], ["updated_at", "2015-11-12 19:48:31.052591"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.2ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:31.062193"], ["updated_at", "2015-11-12 19:48:31.062193"]] SQL (0.2ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:31.063794"], ["updated_at", "2015-11-12 19:48:31.063794"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:31.075372"], ["updated_at", "2015-11-12 19:48:31.075372"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 19:48:30.833537"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:31.166679"], ["updated_at", "2015-11-12 19:48:31.166679"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.2ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 19:48:31.294091"], ["updated_at", "2015-11-12 19:48:31.294091"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 19:48:31.297829"], ["updated_at", "2015-11-12 19:48:31.297829"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 19:48:31.300420"], ["updated_at", "2015-11-12 19:48:31.300420"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 19:48:31.302960"], ["updated_at", "2015-11-12 19:48:31.302960"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 19:48:31.306253"], ["updated_at", "2015-11-12 19:48:31.306253"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 19:48:31.307466"], ["updated_at", "2015-11-12 19:48:31.307466"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:31.369242"], ["updated_at", "2015-11-12 19:48:31.369242"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:31.376592"], ["updated_at", "2015-11-12 19:48:31.376592"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:31.380791"], ["updated_at", "2015-11-12 19:48:31.380791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:31.383086"], ["updated_at", "2015-11-12 19:48:31.383086"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 19:48:31.399118"], ["updated_at", "2015-11-12 19:48:31.399118"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:31.401231"], ["updated_at", "2015-11-12 19:48:31.401231"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:31.404952"], ["updated_at", "2015-11-12 19:48:31.404952"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:31.557489"], ["updated_at", "2015-11-12 19:48:31.557489"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:31.558894"], ["updated_at", "2015-11-12 19:48:31.558894"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:31.566749"], ["updated_at", "2015-11-12 19:48:31.566749"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:31.570925"], ["updated_at", "2015-11-12 19:48:31.570925"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:31.571922"], ["updated_at", "2015-11-12 19:48:31.571922"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:31.580055"], ["updated_at", "2015-11-12 19:48:31.580055"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:31.583433"], ["updated_at", "2015-11-12 19:48:31.583433"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:31.584397"], ["updated_at", "2015-11-12 19:48:31.584397"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:31.590757"], ["updated_at", "2015-11-12 19:48:31.590757"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:31.593571"], ["updated_at", "2015-11-12 19:48:31.593571"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:31.594412"], ["updated_at", "2015-11-12 19:48:31.594412"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:31.603900"], ["updated_at", "2015-11-12 19:48:31.603900"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:31.608007"], ["updated_at", "2015-11-12 19:48:31.608007"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:31.609054"], ["updated_at", "2015-11-12 19:48:31.609054"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:31.615546"], ["updated_at", "2015-11-12 19:48:31.615546"]] SQL (0.7ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:31.401231"], ["updated_at", "2015-11-12 19:48:31.401231"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:31.663991"], ["updated_at", "2015-11-12 19:48:31.663991"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 19:48:31.747438"], ["updated_at", "2015-11-12 19:48:31.747438"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 19:48:31.758405"], ["updated_at", "2015-11-12 19:48:31.758405"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:31.760625"], ["updated_at", "2015-11-12 19:48:31.760625"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:31.764350"], ["updated_at", "2015-11-12 19:48:31.764350"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:31.908134"], ["updated_at", "2015-11-12 19:48:31.908134"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:31.928220"], ["updated_at", "2015-11-12 19:48:31.928220"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.2ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:31.939377"], ["updated_at", "2015-11-12 19:48:31.939377"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:31.947510"], ["updated_at", "2015-11-12 19:48:31.947510"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:31.956273"], ["updated_at", "2015-11-12 19:48:31.956273"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:31.760625"], ["updated_at", "2015-11-12 19:48:31.760625"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:32.004554"], ["updated_at", "2015-11-12 19:48:32.004554"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 19:48:32.127035"], ["updated_at", "2015-11-12 19:48:32.127035"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 19:48:32.161231"], ["updated_at", "2015-11-12 19:48:32.161231"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:32.164061"], ["updated_at", "2015-11-12 19:48:32.164061"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 19:48:32.165285"], ["updated_at", "2015-11-12 19:48:32.165285"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 19:48:32.171380"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 19:48:32.174389"], ["updated_at", "2015-11-12 19:48:32.174389"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:32.180614"], ["updated_at", "2015-11-12 19:48:32.180614"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:32.183541"], ["updated_at", "2015-11-12 19:48:32.183541"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:32.185021"], ["updated_at", "2015-11-12 19:48:32.185021"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:32.190837"], ["updated_at", "2015-11-12 19:48:32.190837"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:32.194344"], ["updated_at", "2015-11-12 19:48:32.194344"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:32.196066"], ["updated_at", "2015-11-12 19:48:32.196066"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 19:48:32.202046"], ["updated_at", "2015-11-12 19:48:32.202046"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 19:48:32.204488"], ["updated_at", "2015-11-12 19:48:32.204488"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 19:48:32.205781"], ["updated_at", "2015-11-12 19:48:32.205781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 19:48:32.216296"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 19:48:32.218963"], ["updated_at", "2015-11-12 19:48:32.218963"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:32.325226"], ["updated_at", "2015-11-12 19:48:32.325226"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:32.326197"], ["updated_at", "2015-11-12 19:48:32.326197"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:32.333004"], ["updated_at", "2015-11-12 19:48:32.333004"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.2ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:32.336842"], ["updated_at", "2015-11-12 19:48:32.336842"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:32.338274"], ["updated_at", "2015-11-12 19:48:32.338274"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:32.347758"], ["updated_at", "2015-11-12 19:48:32.347758"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:32.350865"], ["updated_at", "2015-11-12 19:48:32.350865"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:32.351784"], ["updated_at", "2015-11-12 19:48:32.351784"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:32.361063"], ["updated_at", "2015-11-12 19:48:32.361063"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:32.365274"], ["updated_at", "2015-11-12 19:48:32.365274"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:32.366427"], ["updated_at", "2015-11-12 19:48:32.366427"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:32.374156"], ["updated_at", "2015-11-12 19:48:32.374156"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:32.377412"], ["updated_at", "2015-11-12 19:48:32.377412"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:32.378337"], ["updated_at", "2015-11-12 19:48:32.378337"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:32.387390"], ["updated_at", "2015-11-12 19:48:32.387390"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 19:48:32.216296"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:32.444744"], ["updated_at", "2015-11-12 19:48:32.444744"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 19:48:32.534487"], ["updated_at", "2015-11-12 19:48:32.534487"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 19:48:32.536154"], ["updated_at", "2015-11-12 19:48:32.536154"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 19:48:32.537504"], ["updated_at", "2015-11-12 19:48:32.537504"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 19:48:32.538567"], ["updated_at", "2015-11-12 19:48:32.538567"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 19:48:32.541543"], ["updated_at", "2015-11-12 19:48:32.541543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 19:48:32.542858"], ["updated_at", "2015-11-12 19:48:32.542858"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (15.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:32.614432"], ["updated_at", "2015-11-12 19:48:32.614432"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:32.616582"], ["updated_at", "2015-11-12 19:48:32.616582"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 19:48:32.620455"], ["updated_at", "2015-11-12 19:48:32.620455"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 19:48:32.622443"], ["updated_at", "2015-11-12 19:48:32.622443"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 19:48:32.632688"], ["updated_at", "2015-11-12 19:48:32.632688"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:32.634443"], ["updated_at", "2015-11-12 19:48:32.634443"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:32.638719"], ["updated_at", "2015-11-12 19:48:32.638719"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 19:48:32.761057"], ["updated_at", "2015-11-12 19:48:32.761057"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:32.761998"], ["updated_at", "2015-11-12 19:48:32.761998"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:32.771136"], ["updated_at", "2015-11-12 19:48:32.771136"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 19:48:32.775711"], ["updated_at", "2015-11-12 19:48:32.775711"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:32.777212"], ["updated_at", "2015-11-12 19:48:32.777212"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:32.786211"], ["updated_at", "2015-11-12 19:48:32.786211"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 19:48:32.791277"], ["updated_at", "2015-11-12 19:48:32.791277"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:32.792582"], ["updated_at", "2015-11-12 19:48:32.792582"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:32.802528"], ["updated_at", "2015-11-12 19:48:32.802528"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 19:48:32.806552"], ["updated_at", "2015-11-12 19:48:32.806552"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:32.807963"], ["updated_at", "2015-11-12 19:48:32.807963"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:32.818008"], ["updated_at", "2015-11-12 19:48:32.818008"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 19:48:32.823611"], ["updated_at", "2015-11-12 19:48:32.823611"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:32.824968"], ["updated_at", "2015-11-12 19:48:32.824968"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:32.833395"], ["updated_at", "2015-11-12 19:48:32.833395"]] SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:32.634443"], ["updated_at", "2015-11-12 19:48:32.634443"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 19:48:32.887629"], ["updated_at", "2015-11-12 19:48:32.887629"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 19:48:32.972274"], ["updated_at", "2015-11-12 19:48:32.972274"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 19:48:32.981985"], ["updated_at", "2015-11-12 19:48:32.981985"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 19:48:32.984048"], ["updated_at", "2015-11-12 19:48:32.984048"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:32.988004"], ["updated_at", "2015-11-12 19:48:32.988004"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 19:48:33.117687"], ["updated_at", "2015-11-12 19:48:33.117687"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 19:48:33.126904"], ["updated_at", "2015-11-12 19:48:33.126904"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.2ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 19:48:33.136877"], ["updated_at", "2015-11-12 19:48:33.136877"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 19:48:33.148620"], ["updated_at", "2015-11-12 19:48:33.148620"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 19:48:33.158691"], ["updated_at", "2015-11-12 19:48:33.158691"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 19:48:32.984048"], ["updated_at", "2015-11-12 19:48:32.984048"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 19:48:33.212459"], ["updated_at", "2015-11-12 19:48:33.212459"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.0ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 19:48:33.332059"], ["updated_at", "2015-11-12 19:48:33.332059"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.8ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (2.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (1.0ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.3ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:05:44.077415"], ["updated_at", "2015-11-12 20:05:44.077415"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.102162"], ["updated_at", "2015-11-12 20:05:44.102162"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:05:44.104381"], ["updated_at", "2015-11-12 20:05:44.104381"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:05:44.116464"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:05:44.119282"], ["updated_at", "2015-11-12 20:05:44.119282"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.125266"], ["updated_at", "2015-11-12 20:05:44.125266"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.127680"], ["updated_at", "2015-11-12 20:05:44.127680"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.128807"], ["updated_at", "2015-11-12 20:05:44.128807"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.133184"], ["updated_at", "2015-11-12 20:05:44.133184"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.135514"], ["updated_at", "2015-11-12 20:05:44.135514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.136640"], ["updated_at", "2015-11-12 20:05:44.136640"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.141458"], ["updated_at", "2015-11-12 20:05:44.141458"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.143579"], ["updated_at", "2015-11-12 20:05:44.143579"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.144700"], ["updated_at", "2015-11-12 20:05:44.144700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:05:44.155747"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:05:44.157995"], ["updated_at", "2015-11-12 20:05:44.157995"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:05:44.165539"], ["updated_at", "2015-11-12 20:05:44.165539"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:05:44.169357"], ["updated_at", "2015-11-12 20:05:44.169357"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:05:44.171944"], ["updated_at", "2015-11-12 20:05:44.171944"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:05:44.174243"], ["updated_at", "2015-11-12 20:05:44.174243"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:05:44.177290"], ["updated_at", "2015-11-12 20:05:44.177290"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:05:44.178467"], ["updated_at", "2015-11-12 20:05:44.178467"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:05:44.248791"], ["updated_at", "2015-11-12 20:05:44.248791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:05:44.256077"], ["updated_at", "2015-11-12 20:05:44.256077"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:05:44.259594"], ["updated_at", "2015-11-12 20:05:44.259594"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:05:44.261418"], ["updated_at", "2015-11-12 20:05:44.261418"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:05:44.274521"], ["updated_at", "2015-11-12 20:05:44.274521"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:05:44.277061"], ["updated_at", "2015-11-12 20:05:44.277061"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:05:44.280950"], ["updated_at", "2015-11-12 20:05:44.280950"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:05:44.283520"], ["updated_at", "2015-11-12 20:05:44.283520"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:05:44.290327"], ["updated_at", "2015-11-12 20:05:44.290327"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:05:44.291908"], ["updated_at", "2015-11-12 20:05:44.291908"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:05:44.294491"], ["updated_at", "2015-11-12 20:05:44.294491"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:05:44.331488"], ["updated_at", "2015-11-12 20:05:44.331488"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:05:44.366604"], ["updated_at", "2015-11-12 20:05:44.366604"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.370585"], ["updated_at", "2015-11-12 20:05:44.370585"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:05:44.372571"], ["updated_at", "2015-11-12 20:05:44.372571"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:05:44.377978"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:05:44.380172"], ["updated_at", "2015-11-12 20:05:44.380172"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.385452"], ["updated_at", "2015-11-12 20:05:44.385452"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.388786"], ["updated_at", "2015-11-12 20:05:44.388786"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.390449"], ["updated_at", "2015-11-12 20:05:44.390449"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.395968"], ["updated_at", "2015-11-12 20:05:44.395968"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.398171"], ["updated_at", "2015-11-12 20:05:44.398171"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.399429"], ["updated_at", "2015-11-12 20:05:44.399429"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:05:44.404152"], ["updated_at", "2015-11-12 20:05:44.404152"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:05:44.406385"], ["updated_at", "2015-11-12 20:05:44.406385"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:05:44.407590"], ["updated_at", "2015-11-12 20:05:44.407590"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:05:44.416613"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:05:44.419415"], ["updated_at", "2015-11-12 20:05:44.419415"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:05:44.424558"], ["updated_at", "2015-11-12 20:05:44.424558"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:05:44.426184"], ["updated_at", "2015-11-12 20:05:44.426184"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:05:44.427712"], ["updated_at", "2015-11-12 20:05:44.427712"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:05:44.428886"], ["updated_at", "2015-11-12 20:05:44.428886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:05:44.431821"], ["updated_at", "2015-11-12 20:05:44.431821"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:05:44.433040"], ["updated_at", "2015-11-12 20:05:44.433040"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:05:44.480328"], ["updated_at", "2015-11-12 20:05:44.480328"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:05:44.482206"], ["updated_at", "2015-11-12 20:05:44.482206"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:05:44.486013"], ["updated_at", "2015-11-12 20:05:44.486013"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:05:44.488513"], ["updated_at", "2015-11-12 20:05:44.488513"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:05:44.498893"], ["updated_at", "2015-11-12 20:05:44.498893"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:05:44.500496"], ["updated_at", "2015-11-12 20:05:44.500496"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:05:44.504903"], ["updated_at", "2015-11-12 20:05:44.504903"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:05:44.507874"], ["updated_at", "2015-11-12 20:05:44.507874"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:05:44.515684"], ["updated_at", "2015-11-12 20:05:44.515684"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:05:44.517607"], ["updated_at", "2015-11-12 20:05:44.517607"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:05:44.520489"], ["updated_at", "2015-11-12 20:05:44.520489"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:05:44.522447"], ["updated_at", "2015-11-12 20:05:44.522447"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:08:01.915430"], ["updated_at", "2015-11-12 20:08:01.915430"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:01.932429"], ["updated_at", "2015-11-12 20:08:01.932429"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:08:01.934699"], ["updated_at", "2015-11-12 20:08:01.934699"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:08:01.947955"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:08:01.950402"], ["updated_at", "2015-11-12 20:08:01.950402"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:01.956241"], ["updated_at", "2015-11-12 20:08:01.956241"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:01.958500"], ["updated_at", "2015-11-12 20:08:01.958500"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:01.959665"], ["updated_at", "2015-11-12 20:08:01.959665"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:01.963904"], ["updated_at", "2015-11-12 20:08:01.963904"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:01.966266"], ["updated_at", "2015-11-12 20:08:01.966266"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:01.967470"], ["updated_at", "2015-11-12 20:08:01.967470"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:01.972071"], ["updated_at", "2015-11-12 20:08:01.972071"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:01.974201"], ["updated_at", "2015-11-12 20:08:01.974201"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:01.975347"], ["updated_at", "2015-11-12 20:08:01.975347"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:08:01.985936"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:08:01.988143"], ["updated_at", "2015-11-12 20:08:01.988143"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:08:01.996354"], ["updated_at", "2015-11-12 20:08:01.996354"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:08:02.000784"], ["updated_at", "2015-11-12 20:08:02.000784"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:08:02.004207"], ["updated_at", "2015-11-12 20:08:02.004207"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:08:02.006699"], ["updated_at", "2015-11-12 20:08:02.006699"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:08:02.009742"], ["updated_at", "2015-11-12 20:08:02.009742"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:08:02.010833"], ["updated_at", "2015-11-12 20:08:02.010833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:08:02.078156"], ["updated_at", "2015-11-12 20:08:02.078156"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:08:02.084678"], ["updated_at", "2015-11-12 20:08:02.084678"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:08:02.089535"], ["updated_at", "2015-11-12 20:08:02.089535"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:08:02.092099"], ["updated_at", "2015-11-12 20:08:02.092099"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:08:02.107225"], ["updated_at", "2015-11-12 20:08:02.107225"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:08:02.108954"], ["updated_at", "2015-11-12 20:08:02.108954"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:08:02.111653"], ["updated_at", "2015-11-12 20:08:02.111653"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:08:02.113588"], ["updated_at", "2015-11-12 20:08:02.113588"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:08:02.124031"], ["updated_at", "2015-11-12 20:08:02.124031"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:08:02.125998"], ["updated_at", "2015-11-12 20:08:02.125998"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:08:02.128712"], ["updated_at", "2015-11-12 20:08:02.128712"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:08:02.164145"], ["updated_at", "2015-11-12 20:08:02.164145"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:08:02.200015"], ["updated_at", "2015-11-12 20:08:02.200015"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:02.202756"], ["updated_at", "2015-11-12 20:08:02.202756"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:08:02.204026"], ["updated_at", "2015-11-12 20:08:02.204026"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:08:02.208413"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:08:02.210025"], ["updated_at", "2015-11-12 20:08:02.210025"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:02.214639"], ["updated_at", "2015-11-12 20:08:02.214639"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:02.217305"], ["updated_at", "2015-11-12 20:08:02.217305"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:02.218720"], ["updated_at", "2015-11-12 20:08:02.218720"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:02.223781"], ["updated_at", "2015-11-12 20:08:02.223781"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:02.226496"], ["updated_at", "2015-11-12 20:08:02.226496"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:02.228056"], ["updated_at", "2015-11-12 20:08:02.228056"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:08:02.233539"], ["updated_at", "2015-11-12 20:08:02.233539"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:08:02.237556"], ["updated_at", "2015-11-12 20:08:02.237556"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:08:02.239401"], ["updated_at", "2015-11-12 20:08:02.239401"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:08:02.250905"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:08:02.253702"], ["updated_at", "2015-11-12 20:08:02.253702"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:08:02.258803"], ["updated_at", "2015-11-12 20:08:02.258803"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:08:02.260192"], ["updated_at", "2015-11-12 20:08:02.260192"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:08:02.261418"], ["updated_at", "2015-11-12 20:08:02.261418"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:08:02.262389"], ["updated_at", "2015-11-12 20:08:02.262389"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:08:02.264916"], ["updated_at", "2015-11-12 20:08:02.264916"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:08:02.266199"], ["updated_at", "2015-11-12 20:08:02.266199"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:08:02.309863"], ["updated_at", "2015-11-12 20:08:02.309863"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:08:02.311570"], ["updated_at", "2015-11-12 20:08:02.311570"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:08:02.314744"], ["updated_at", "2015-11-12 20:08:02.314744"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:08:02.316521"], ["updated_at", "2015-11-12 20:08:02.316521"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:08:02.327110"], ["updated_at", "2015-11-12 20:08:02.327110"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:08:02.328891"], ["updated_at", "2015-11-12 20:08:02.328891"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:08:02.331507"], ["updated_at", "2015-11-12 20:08:02.331507"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:08:02.333403"], ["updated_at", "2015-11-12 20:08:02.333403"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:08:02.340788"], ["updated_at", "2015-11-12 20:08:02.340788"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:08:02.342885"], ["updated_at", "2015-11-12 20:08:02.342885"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:08:02.346571"], ["updated_at", "2015-11-12 20:08:02.346571"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:08:02.349042"], ["updated_at", "2015-11-12 20:08:02.349042"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:10:21.928866"], ["updated_at", "2015-11-12 20:10:21.928866"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:21.946342"], ["updated_at", "2015-11-12 20:10:21.946342"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:10:21.948860"], ["updated_at", "2015-11-12 20:10:21.948860"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:10:21.961189"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:10:21.963624"], ["updated_at", "2015-11-12 20:10:21.963624"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:21.969474"], ["updated_at", "2015-11-12 20:10:21.969474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:21.971696"], ["updated_at", "2015-11-12 20:10:21.971696"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:21.972824"], ["updated_at", "2015-11-12 20:10:21.972824"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:21.978005"], ["updated_at", "2015-11-12 20:10:21.978005"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:21.982236"], ["updated_at", "2015-11-12 20:10:21.982236"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:21.983886"], ["updated_at", "2015-11-12 20:10:21.983886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:21.990505"], ["updated_at", "2015-11-12 20:10:21.990505"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:21.994656"], ["updated_at", "2015-11-12 20:10:21.994656"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:21.996840"], ["updated_at", "2015-11-12 20:10:21.996840"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:10:22.014007"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:10:22.017354"], ["updated_at", "2015-11-12 20:10:22.017354"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:10:22.025882"], ["updated_at", "2015-11-12 20:10:22.025882"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:10:22.029964"], ["updated_at", "2015-11-12 20:10:22.029964"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:10:22.033023"], ["updated_at", "2015-11-12 20:10:22.033023"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:10:22.035512"], ["updated_at", "2015-11-12 20:10:22.035512"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:10:22.038492"], ["updated_at", "2015-11-12 20:10:22.038492"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:10:22.039596"], ["updated_at", "2015-11-12 20:10:22.039596"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:10:22.110332"], ["updated_at", "2015-11-12 20:10:22.110332"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:10:22.116709"], ["updated_at", "2015-11-12 20:10:22.116709"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:10:22.120521"], ["updated_at", "2015-11-12 20:10:22.120521"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:10:22.123009"], ["updated_at", "2015-11-12 20:10:22.123009"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:10:22.140951"], ["updated_at", "2015-11-12 20:10:22.140951"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:10:22.143380"], ["updated_at", "2015-11-12 20:10:22.143380"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:10:22.146921"], ["updated_at", "2015-11-12 20:10:22.146921"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:10:22.149224"], ["updated_at", "2015-11-12 20:10:22.149224"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:10:22.158086"], ["updated_at", "2015-11-12 20:10:22.158086"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:10:22.160332"], ["updated_at", "2015-11-12 20:10:22.160332"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:10:22.163489"], ["updated_at", "2015-11-12 20:10:22.163489"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:10:22.199848"], ["updated_at", "2015-11-12 20:10:22.199848"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:10:22.234934"], ["updated_at", "2015-11-12 20:10:22.234934"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:22.237509"], ["updated_at", "2015-11-12 20:10:22.237509"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:10:22.238765"], ["updated_at", "2015-11-12 20:10:22.238765"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:10:22.243083"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:10:22.244720"], ["updated_at", "2015-11-12 20:10:22.244720"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:22.249689"], ["updated_at", "2015-11-12 20:10:22.249689"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:22.253202"], ["updated_at", "2015-11-12 20:10:22.253202"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:22.255045"], ["updated_at", "2015-11-12 20:10:22.255045"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:22.260759"], ["updated_at", "2015-11-12 20:10:22.260759"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:22.263014"], ["updated_at", "2015-11-12 20:10:22.263014"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:22.264230"], ["updated_at", "2015-11-12 20:10:22.264230"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:10:22.268799"], ["updated_at", "2015-11-12 20:10:22.268799"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:10:22.271050"], ["updated_at", "2015-11-12 20:10:22.271050"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:10:22.272375"], ["updated_at", "2015-11-12 20:10:22.272375"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:10:22.283888"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:10:22.286135"], ["updated_at", "2015-11-12 20:10:22.286135"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:10:22.291458"], ["updated_at", "2015-11-12 20:10:22.291458"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:10:22.293662"], ["updated_at", "2015-11-12 20:10:22.293662"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:10:22.295412"], ["updated_at", "2015-11-12 20:10:22.295412"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:10:22.296885"], ["updated_at", "2015-11-12 20:10:22.296885"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:10:22.301030"], ["updated_at", "2015-11-12 20:10:22.301030"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:10:22.302857"], ["updated_at", "2015-11-12 20:10:22.302857"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:10:22.349915"], ["updated_at", "2015-11-12 20:10:22.349915"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:10:22.351531"], ["updated_at", "2015-11-12 20:10:22.351531"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:10:22.355395"], ["updated_at", "2015-11-12 20:10:22.355395"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:10:22.357554"], ["updated_at", "2015-11-12 20:10:22.357554"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:10:22.368471"], ["updated_at", "2015-11-12 20:10:22.368471"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:10:22.371681"], ["updated_at", "2015-11-12 20:10:22.371681"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:10:22.375748"], ["updated_at", "2015-11-12 20:10:22.375748"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:10:22.378410"], ["updated_at", "2015-11-12 20:10:22.378410"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:10:22.387802"], ["updated_at", "2015-11-12 20:10:22.387802"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:10:22.389849"], ["updated_at", "2015-11-12 20:10:22.389849"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:10:22.392772"], ["updated_at", "2015-11-12 20:10:22.392772"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:10:22.396192"], ["updated_at", "2015-11-12 20:10:22.396192"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.8ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.6ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:22:12.064536"], ["updated_at", "2015-11-12 20:22:12.064536"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.084943"], ["updated_at", "2015-11-12 20:22:12.084943"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:22:12.087965"], ["updated_at", "2015-11-12 20:22:12.087965"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:22:12.101595"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:22:12.104013"], ["updated_at", "2015-11-12 20:22:12.104013"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.111802"], ["updated_at", "2015-11-12 20:22:12.111802"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.114647"], ["updated_at", "2015-11-12 20:22:12.114647"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.116082"], ["updated_at", "2015-11-12 20:22:12.116082"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.121087"], ["updated_at", "2015-11-12 20:22:12.121087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.123993"], ["updated_at", "2015-11-12 20:22:12.123993"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.125406"], ["updated_at", "2015-11-12 20:22:12.125406"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.131487"], ["updated_at", "2015-11-12 20:22:12.131487"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.134199"], ["updated_at", "2015-11-12 20:22:12.134199"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.135600"], ["updated_at", "2015-11-12 20:22:12.135600"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:22:12.146746"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:22:12.149407"], ["updated_at", "2015-11-12 20:22:12.149407"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:22:12.156483"], ["updated_at", "2015-11-12 20:22:12.156483"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:22:12.160570"], ["updated_at", "2015-11-12 20:22:12.160570"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:22:12.163690"], ["updated_at", "2015-11-12 20:22:12.163690"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:22:12.166208"], ["updated_at", "2015-11-12 20:22:12.166208"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:22:12.169198"], ["updated_at", "2015-11-12 20:22:12.169198"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:22:12.170288"], ["updated_at", "2015-11-12 20:22:12.170288"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:22:12.241042"], ["updated_at", "2015-11-12 20:22:12.241042"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:22:12.247841"], ["updated_at", "2015-11-12 20:22:12.247841"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:22:12.251246"], ["updated_at", "2015-11-12 20:22:12.251246"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:22:12.252780"], ["updated_at", "2015-11-12 20:22:12.252780"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:22:12.267825"], ["updated_at", "2015-11-12 20:22:12.267825"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:22:12.269841"], ["updated_at", "2015-11-12 20:22:12.269841"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:22:12.273528"], ["updated_at", "2015-11-12 20:22:12.273528"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:22:12.277241"], ["updated_at", "2015-11-12 20:22:12.277241"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:22:12.287833"], ["updated_at", "2015-11-12 20:22:12.287833"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:22:12.289897"], ["updated_at", "2015-11-12 20:22:12.289897"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:22:12.327629"], ["updated_at", "2015-11-12 20:22:12.327629"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:22:12.330856"], ["updated_at", "2015-11-12 20:22:12.330856"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:22:12.363567"], ["updated_at", "2015-11-12 20:22:12.363567"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.365971"], ["updated_at", "2015-11-12 20:22:12.365971"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:22:12.367161"], ["updated_at", "2015-11-12 20:22:12.367161"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:22:12.371051"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:22:12.372907"], ["updated_at", "2015-11-12 20:22:12.372907"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.378886"], ["updated_at", "2015-11-12 20:22:12.378886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.382098"], ["updated_at", "2015-11-12 20:22:12.382098"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.383879"], ["updated_at", "2015-11-12 20:22:12.383879"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.389777"], ["updated_at", "2015-11-12 20:22:12.389777"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.392141"], ["updated_at", "2015-11-12 20:22:12.392141"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.393387"], ["updated_at", "2015-11-12 20:22:12.393387"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:22:12.398673"], ["updated_at", "2015-11-12 20:22:12.398673"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:22:12.401708"], ["updated_at", "2015-11-12 20:22:12.401708"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:22:12.403289"], ["updated_at", "2015-11-12 20:22:12.403289"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:22:12.417494"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:22:12.420649"], ["updated_at", "2015-11-12 20:22:12.420649"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:22:12.425660"], ["updated_at", "2015-11-12 20:22:12.425660"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:22:12.426960"], ["updated_at", "2015-11-12 20:22:12.426960"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:22:12.428116"], ["updated_at", "2015-11-12 20:22:12.428116"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:22:12.429218"], ["updated_at", "2015-11-12 20:22:12.429218"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:22:12.433011"], ["updated_at", "2015-11-12 20:22:12.433011"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:22:12.435077"], ["updated_at", "2015-11-12 20:22:12.435077"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:22:12.481516"], ["updated_at", "2015-11-12 20:22:12.481516"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:22:12.483203"], ["updated_at", "2015-11-12 20:22:12.483203"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:22:12.487379"], ["updated_at", "2015-11-12 20:22:12.487379"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:22:12.489984"], ["updated_at", "2015-11-12 20:22:12.489984"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:22:12.500106"], ["updated_at", "2015-11-12 20:22:12.500106"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:22:12.502008"], ["updated_at", "2015-11-12 20:22:12.502008"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:22:12.505379"], ["updated_at", "2015-11-12 20:22:12.505379"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:22:12.507446"], ["updated_at", "2015-11-12 20:22:12.507446"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:22:12.513925"], ["updated_at", "2015-11-12 20:22:12.513925"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:22:12.515794"], ["updated_at", "2015-11-12 20:22:12.515794"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:22:12.518791"], ["updated_at", "2015-11-12 20:22:12.518791"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:22:12.520875"], ["updated_at", "2015-11-12 20:22:12.520875"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.6ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.6ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:23:22.003469"], ["updated_at", "2015-11-12 20:23:22.003469"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.020893"], ["updated_at", "2015-11-12 20:23:22.020893"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:23:22.023176"], ["updated_at", "2015-11-12 20:23:22.023176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:23:22.035319"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:23:22.037755"], ["updated_at", "2015-11-12 20:23:22.037755"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.043902"], ["updated_at", "2015-11-12 20:23:22.043902"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.046979"], ["updated_at", "2015-11-12 20:23:22.046979"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.048591"], ["updated_at", "2015-11-12 20:23:22.048591"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.053371"], ["updated_at", "2015-11-12 20:23:22.053371"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.056104"], ["updated_at", "2015-11-12 20:23:22.056104"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.057650"], ["updated_at", "2015-11-12 20:23:22.057650"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.063287"], ["updated_at", "2015-11-12 20:23:22.063287"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.065688"], ["updated_at", "2015-11-12 20:23:22.065688"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.066867"], ["updated_at", "2015-11-12 20:23:22.066867"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.1ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:23:22.079625"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:23:22.082237"], ["updated_at", "2015-11-12 20:23:22.082237"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:23:22.089287"], ["updated_at", "2015-11-12 20:23:22.089287"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:23:22.093377"], ["updated_at", "2015-11-12 20:23:22.093377"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:23:22.096769"], ["updated_at", "2015-11-12 20:23:22.096769"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:23:22.099399"], ["updated_at", "2015-11-12 20:23:22.099399"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:23:22.103344"], ["updated_at", "2015-11-12 20:23:22.103344"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:23:22.105097"], ["updated_at", "2015-11-12 20:23:22.105097"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:23:22.177313"], ["updated_at", "2015-11-12 20:23:22.177313"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:23:22.184386"], ["updated_at", "2015-11-12 20:23:22.184386"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:23:22.188684"], ["updated_at", "2015-11-12 20:23:22.188684"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:23:22.190603"], ["updated_at", "2015-11-12 20:23:22.190603"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:23:22.207424"], ["updated_at", "2015-11-12 20:23:22.207424"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:23:22.209337"], ["updated_at", "2015-11-12 20:23:22.209337"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:23:22.212099"], ["updated_at", "2015-11-12 20:23:22.212099"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:23:22.214173"], ["updated_at", "2015-11-12 20:23:22.214173"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:23:22.220728"], ["updated_at", "2015-11-12 20:23:22.220728"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:23:22.222358"], ["updated_at", "2015-11-12 20:23:22.222358"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:23:22.224814"], ["updated_at", "2015-11-12 20:23:22.224814"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:23:22.261085"], ["updated_at", "2015-11-12 20:23:22.261085"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:23:22.295642"], ["updated_at", "2015-11-12 20:23:22.295642"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.298258"], ["updated_at", "2015-11-12 20:23:22.298258"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:23:22.299585"], ["updated_at", "2015-11-12 20:23:22.299585"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:23:22.304603"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:23:22.306779"], ["updated_at", "2015-11-12 20:23:22.306779"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.311973"], ["updated_at", "2015-11-12 20:23:22.311973"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.315221"], ["updated_at", "2015-11-12 20:23:22.315221"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.316837"], ["updated_at", "2015-11-12 20:23:22.316837"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.322033"], ["updated_at", "2015-11-12 20:23:22.322033"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.324247"], ["updated_at", "2015-11-12 20:23:22.324247"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.325406"], ["updated_at", "2015-11-12 20:23:22.325406"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:23:22.330108"], ["updated_at", "2015-11-12 20:23:22.330108"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:23:22.332514"], ["updated_at", "2015-11-12 20:23:22.332514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:23:22.333764"], ["updated_at", "2015-11-12 20:23:22.333764"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:23:22.342955"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:23:22.345265"], ["updated_at", "2015-11-12 20:23:22.345265"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:23:22.350827"], ["updated_at", "2015-11-12 20:23:22.350827"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:23:22.352800"], ["updated_at", "2015-11-12 20:23:22.352800"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:23:22.354641"], ["updated_at", "2015-11-12 20:23:22.354641"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:23:22.356085"], ["updated_at", "2015-11-12 20:23:22.356085"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:23:22.359513"], ["updated_at", "2015-11-12 20:23:22.359513"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:23:22.360852"], ["updated_at", "2015-11-12 20:23:22.360852"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:23:22.409506"], ["updated_at", "2015-11-12 20:23:22.409506"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:23:22.411242"], ["updated_at", "2015-11-12 20:23:22.411242"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:23:22.414542"], ["updated_at", "2015-11-12 20:23:22.414542"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:23:22.416226"], ["updated_at", "2015-11-12 20:23:22.416226"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:23:22.427893"], ["updated_at", "2015-11-12 20:23:22.427893"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:23:22.430911"], ["updated_at", "2015-11-12 20:23:22.430911"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:23:22.435825"], ["updated_at", "2015-11-12 20:23:22.435825"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:23:22.438585"], ["updated_at", "2015-11-12 20:23:22.438585"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:23:22.448089"], ["updated_at", "2015-11-12 20:23:22.448089"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:23:22.450226"], ["updated_at", "2015-11-12 20:23:22.450226"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:23:22.453298"], ["updated_at", "2015-11-12 20:23:22.453298"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:23:22.455297"], ["updated_at", "2015-11-12 20:23:22.455297"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.1ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:38:22.354743"], ["updated_at", "2015-11-12 20:38:22.354743"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.373527"], ["updated_at", "2015-11-12 20:38:22.373527"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:38:22.375819"], ["updated_at", "2015-11-12 20:38:22.375819"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:38:22.388865"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:38:22.391272"], ["updated_at", "2015-11-12 20:38:22.391272"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.397214"], ["updated_at", "2015-11-12 20:38:22.397214"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.400372"], ["updated_at", "2015-11-12 20:38:22.400372"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.401992"], ["updated_at", "2015-11-12 20:38:22.401992"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.407708"], ["updated_at", "2015-11-12 20:38:22.407708"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.410270"], ["updated_at", "2015-11-12 20:38:22.410270"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.411541"], ["updated_at", "2015-11-12 20:38:22.411541"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.416748"], ["updated_at", "2015-11-12 20:38:22.416748"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.419990"], ["updated_at", "2015-11-12 20:38:22.419990"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.421438"], ["updated_at", "2015-11-12 20:38:22.421438"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.1ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:38:22.434519"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:38:22.437597"], ["updated_at", "2015-11-12 20:38:22.437597"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:38:22.444231"], ["updated_at", "2015-11-12 20:38:22.444231"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:38:22.447357"], ["updated_at", "2015-11-12 20:38:22.447357"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:38:22.449767"], ["updated_at", "2015-11-12 20:38:22.449767"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:38:22.451979"], ["updated_at", "2015-11-12 20:38:22.451979"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:38:22.455188"], ["updated_at", "2015-11-12 20:38:22.455188"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:38:22.456340"], ["updated_at", "2015-11-12 20:38:22.456340"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:22.529850"], ["updated_at", "2015-11-12 20:38:22.529850"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:22.536418"], ["updated_at", "2015-11-12 20:38:22.536418"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:22.540888"], ["updated_at", "2015-11-12 20:38:22.540888"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:22.543440"], ["updated_at", "2015-11-12 20:38:22.543440"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:38:22.558081"], ["updated_at", "2015-11-12 20:38:22.558081"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:22.560003"], ["updated_at", "2015-11-12 20:38:22.560003"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:38:22.563388"], ["updated_at", "2015-11-12 20:38:22.563388"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:38:22.566921"], ["updated_at", "2015-11-12 20:38:22.566921"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:38:22.577153"], ["updated_at", "2015-11-12 20:38:22.577153"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:22.579759"], ["updated_at", "2015-11-12 20:38:22.579759"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:38:22.584136"], ["updated_at", "2015-11-12 20:38:22.584136"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:38:22.622037"], ["updated_at", "2015-11-12 20:38:22.622037"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:38:22.657711"], ["updated_at", "2015-11-12 20:38:22.657711"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.660178"], ["updated_at", "2015-11-12 20:38:22.660178"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:38:22.661418"], ["updated_at", "2015-11-12 20:38:22.661418"]]  (0.1ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:38:22.666938"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:38:22.668911"], ["updated_at", "2015-11-12 20:38:22.668911"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.673627"], ["updated_at", "2015-11-12 20:38:22.673627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.676847"], ["updated_at", "2015-11-12 20:38:22.676847"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.678361"], ["updated_at", "2015-11-12 20:38:22.678361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.683690"], ["updated_at", "2015-11-12 20:38:22.683690"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.685937"], ["updated_at", "2015-11-12 20:38:22.685937"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.687063"], ["updated_at", "2015-11-12 20:38:22.687063"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:22.691949"], ["updated_at", "2015-11-12 20:38:22.691949"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:22.695110"], ["updated_at", "2015-11-12 20:38:22.695110"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:22.696886"], ["updated_at", "2015-11-12 20:38:22.696886"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:38:22.708657"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:38:22.711348"], ["updated_at", "2015-11-12 20:38:22.711348"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:38:22.716105"], ["updated_at", "2015-11-12 20:38:22.716105"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:38:22.717461"], ["updated_at", "2015-11-12 20:38:22.717461"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:38:22.718603"], ["updated_at", "2015-11-12 20:38:22.718603"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:38:22.719528"], ["updated_at", "2015-11-12 20:38:22.719528"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:38:22.722184"], ["updated_at", "2015-11-12 20:38:22.722184"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:38:22.723289"], ["updated_at", "2015-11-12 20:38:22.723289"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:22.767676"], ["updated_at", "2015-11-12 20:38:22.767676"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:22.769361"], ["updated_at", "2015-11-12 20:38:22.769361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:22.773327"], ["updated_at", "2015-11-12 20:38:22.773327"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:22.775814"], ["updated_at", "2015-11-12 20:38:22.775814"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:38:22.787601"], ["updated_at", "2015-11-12 20:38:22.787601"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:22.789940"], ["updated_at", "2015-11-12 20:38:22.789940"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:38:22.793523"], ["updated_at", "2015-11-12 20:38:22.793523"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:38:22.795876"], ["updated_at", "2015-11-12 20:38:22.795876"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:38:22.802787"], ["updated_at", "2015-11-12 20:38:22.802787"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:22.804496"], ["updated_at", "2015-11-12 20:38:22.804496"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:38:22.807630"], ["updated_at", "2015-11-12 20:38:22.807630"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:38:22.809977"], ["updated_at", "2015-11-12 20:38:22.809977"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.0ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.0ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.0ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:38:52.791647"], ["updated_at", "2015-11-12 20:38:52.791647"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:52.817487"], ["updated_at", "2015-11-12 20:38:52.817487"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:38:52.820481"], ["updated_at", "2015-11-12 20:38:52.820481"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:38:52.837510"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:38:52.840213"], ["updated_at", "2015-11-12 20:38:52.840213"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:52.846186"], ["updated_at", "2015-11-12 20:38:52.846186"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:52.848442"], ["updated_at", "2015-11-12 20:38:52.848442"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:52.850013"], ["updated_at", "2015-11-12 20:38:52.850013"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:52.856715"], ["updated_at", "2015-11-12 20:38:52.856715"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:52.859491"], ["updated_at", "2015-11-12 20:38:52.859491"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:52.861397"], ["updated_at", "2015-11-12 20:38:52.861397"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:52.868868"], ["updated_at", "2015-11-12 20:38:52.868868"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:52.872240"], ["updated_at", "2015-11-12 20:38:52.872240"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:52.873888"], ["updated_at", "2015-11-12 20:38:52.873888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:38:52.886672"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:38:52.889981"], ["updated_at", "2015-11-12 20:38:52.889981"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:38:52.896986"], ["updated_at", "2015-11-12 20:38:52.896986"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:38:52.900210"], ["updated_at", "2015-11-12 20:38:52.900210"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:38:52.902833"], ["updated_at", "2015-11-12 20:38:52.902833"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:38:52.905421"], ["updated_at", "2015-11-12 20:38:52.905421"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:38:52.908897"], ["updated_at", "2015-11-12 20:38:52.908897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:38:52.910311"], ["updated_at", "2015-11-12 20:38:52.910311"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:52.985894"], ["updated_at", "2015-11-12 20:38:52.985894"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:52.992548"], ["updated_at", "2015-11-12 20:38:52.992548"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:52.996321"], ["updated_at", "2015-11-12 20:38:52.996321"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:52.998186"], ["updated_at", "2015-11-12 20:38:52.998186"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:38:53.012768"], ["updated_at", "2015-11-12 20:38:53.012768"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:53.015148"], ["updated_at", "2015-11-12 20:38:53.015148"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:38:53.019208"], ["updated_at", "2015-11-12 20:38:53.019208"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:38:53.021811"], ["updated_at", "2015-11-12 20:38:53.021811"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:38:53.031312"], ["updated_at", "2015-11-12 20:38:53.031312"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:53.033535"], ["updated_at", "2015-11-12 20:38:53.033535"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:38:53.036744"], ["updated_at", "2015-11-12 20:38:53.036744"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:38:53.076335"], ["updated_at", "2015-11-12 20:38:53.076335"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:38:53.114953"], ["updated_at", "2015-11-12 20:38:53.114953"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:53.117624"], ["updated_at", "2015-11-12 20:38:53.117624"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:38:53.119011"], ["updated_at", "2015-11-12 20:38:53.119011"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:38:53.123208"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:38:53.124891"], ["updated_at", "2015-11-12 20:38:53.124891"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:53.129167"], ["updated_at", "2015-11-12 20:38:53.129167"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:53.131561"], ["updated_at", "2015-11-12 20:38:53.131561"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:53.132878"], ["updated_at", "2015-11-12 20:38:53.132878"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:53.137797"], ["updated_at", "2015-11-12 20:38:53.137797"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:53.140087"], ["updated_at", "2015-11-12 20:38:53.140087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:53.141318"], ["updated_at", "2015-11-12 20:38:53.141318"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:38:53.145942"], ["updated_at", "2015-11-12 20:38:53.145942"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:38:53.148114"], ["updated_at", "2015-11-12 20:38:53.148114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:38:53.149513"], ["updated_at", "2015-11-12 20:38:53.149513"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.0ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:38:53.158497"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:38:53.160738"], ["updated_at", "2015-11-12 20:38:53.160738"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:38:53.165715"], ["updated_at", "2015-11-12 20:38:53.165715"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:38:53.167577"], ["updated_at", "2015-11-12 20:38:53.167577"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:38:53.169513"], ["updated_at", "2015-11-12 20:38:53.169513"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:38:53.170983"], ["updated_at", "2015-11-12 20:38:53.170983"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:38:53.174484"], ["updated_at", "2015-11-12 20:38:53.174484"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:38:53.175821"], ["updated_at", "2015-11-12 20:38:53.175821"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:53.224497"], ["updated_at", "2015-11-12 20:38:53.224497"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:53.226190"], ["updated_at", "2015-11-12 20:38:53.226190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:38:53.229382"], ["updated_at", "2015-11-12 20:38:53.229382"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:38:53.231001"], ["updated_at", "2015-11-12 20:38:53.231001"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:38:53.241178"], ["updated_at", "2015-11-12 20:38:53.241178"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:53.243051"], ["updated_at", "2015-11-12 20:38:53.243051"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:38:53.245977"], ["updated_at", "2015-11-12 20:38:53.245977"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:38:53.248009"], ["updated_at", "2015-11-12 20:38:53.248009"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:38:53.254191"], ["updated_at", "2015-11-12 20:38:53.254191"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:38:53.257278"], ["updated_at", "2015-11-12 20:38:53.257278"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:38:53.261409"], ["updated_at", "2015-11-12 20:38:53.261409"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:38:53.263931"], ["updated_at", "2015-11-12 20:38:53.263931"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.4ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.9ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:45:17.564196"], ["updated_at", "2015-11-12 20:45:17.564196"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:17.583981"], ["updated_at", "2015-11-12 20:45:17.583981"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:45:17.587137"], ["updated_at", "2015-11-12 20:45:17.587137"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:45:17.600226"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:45:17.604201"], ["updated_at", "2015-11-12 20:45:17.604201"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:17.613685"], ["updated_at", "2015-11-12 20:45:17.613685"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:17.617351"], ["updated_at", "2015-11-12 20:45:17.617351"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:17.619122"], ["updated_at", "2015-11-12 20:45:17.619122"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:17.625145"], ["updated_at", "2015-11-12 20:45:17.625145"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:17.627534"], ["updated_at", "2015-11-12 20:45:17.627534"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:17.628745"], ["updated_at", "2015-11-12 20:45:17.628745"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:17.633556"], ["updated_at", "2015-11-12 20:45:17.633556"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:17.636274"], ["updated_at", "2015-11-12 20:45:17.636274"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:17.637617"], ["updated_at", "2015-11-12 20:45:17.637617"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.0ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:45:17.648239"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:45:17.650867"], ["updated_at", "2015-11-12 20:45:17.650867"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 20:45:18.273788"], ["updated_at", "2015-11-12 20:45:18.273788"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:18.275124"], ["updated_at", "2015-11-12 20:45:18.275124"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:18.287005"], ["updated_at", "2015-11-12 20:45:18.287005"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 20:45:18.298392"], ["updated_at", "2015-11-12 20:45:18.298392"]] SQL (0.2ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:18.299413"], ["updated_at", "2015-11-12 20:45:18.299413"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:18.310187"], ["updated_at", "2015-11-12 20:45:18.310187"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.1ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.2ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 20:45:18.322754"], ["updated_at", "2015-11-12 20:45:18.322754"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:18.324080"], ["updated_at", "2015-11-12 20:45:18.324080"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:18.331438"], ["updated_at", "2015-11-12 20:45:18.331438"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 20:45:18.339819"], ["updated_at", "2015-11-12 20:45:18.339819"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:18.340859"], ["updated_at", "2015-11-12 20:45:18.340859"]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:18.348013"], ["updated_at", "2015-11-12 20:45:18.348013"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 20:45:18.357703"], ["updated_at", "2015-11-12 20:45:18.357703"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:18.358799"], ["updated_at", "2015-11-12 20:45:18.358799"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:18.366853"], ["updated_at", "2015-11-12 20:45:18.366853"]] SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 20:45:17.648239"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:18.457354"], ["updated_at", "2015-11-12 20:45:18.457354"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:45:18.588965"], ["updated_at", "2015-11-12 20:45:18.588965"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:45:18.592996"], ["updated_at", "2015-11-12 20:45:18.592996"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:45:18.596167"], ["updated_at", "2015-11-12 20:45:18.596167"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:45:18.598750"], ["updated_at", "2015-11-12 20:45:18.598750"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:45:18.603284"], ["updated_at", "2015-11-12 20:45:18.603284"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:45:18.605274"], ["updated_at", "2015-11-12 20:45:18.605274"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:45:18.667184"], ["updated_at", "2015-11-12 20:45:18.667184"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:45:18.674520"], ["updated_at", "2015-11-12 20:45:18.674520"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:45:18.679114"], ["updated_at", "2015-11-12 20:45:18.679114"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:45:18.681474"], ["updated_at", "2015-11-12 20:45:18.681474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:45:18.697252"], ["updated_at", "2015-11-12 20:45:18.697252"]] SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:45:18.699869"], ["updated_at", "2015-11-12 20:45:18.699869"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:18.705141"], ["updated_at", "2015-11-12 20:45:18.705141"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 20:45:18.813614"], ["updated_at", "2015-11-12 20:45:18.813614"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:18.814573"], ["updated_at", "2015-11-12 20:45:18.814573"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:18.824548"], ["updated_at", "2015-11-12 20:45:18.824548"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.1ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 20:45:18.829473"], ["updated_at", "2015-11-12 20:45:18.829473"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:18.830691"], ["updated_at", "2015-11-12 20:45:18.830691"]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:18.839042"], ["updated_at", "2015-11-12 20:45:18.839042"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 20:45:18.842214"], ["updated_at", "2015-11-12 20:45:18.842214"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:18.843098"], ["updated_at", "2015-11-12 20:45:18.843098"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:18.850098"], ["updated_at", "2015-11-12 20:45:18.850098"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 20:45:18.854178"], ["updated_at", "2015-11-12 20:45:18.854178"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:18.855246"], ["updated_at", "2015-11-12 20:45:18.855246"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:18.865175"], ["updated_at", "2015-11-12 20:45:18.865175"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.1ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 20:45:18.870428"], ["updated_at", "2015-11-12 20:45:18.870428"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:18.871716"], ["updated_at", "2015-11-12 20:45:18.871716"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:18.878775"], ["updated_at", "2015-11-12 20:45:18.878775"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 20:45:18.699869"], ["updated_at", "2015-11-12 20:45:18.699869"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:18.923565"], ["updated_at", "2015-11-12 20:45:18.923565"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:45:19.028016"], ["updated_at", "2015-11-12 20:45:19.028016"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:45:19.036048"], ["updated_at", "2015-11-12 20:45:19.036048"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:45:19.037933"], ["updated_at", "2015-11-12 20:45:19.037933"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:45:19.040909"], ["updated_at", "2015-11-12 20:45:19.040909"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:19.267614"], ["updated_at", "2015-11-12 20:45:19.267614"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:19.277983"], ["updated_at", "2015-11-12 20:45:19.277983"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:19.286598"], ["updated_at", "2015-11-12 20:45:19.286598"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:19.295993"], ["updated_at", "2015-11-12 20:45:19.295993"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:19.304446"], ["updated_at", "2015-11-12 20:45:19.304446"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 20:45:19.037933"], ["updated_at", "2015-11-12 20:45:19.037933"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:45:19.345624"], ["updated_at", "2015-11-12 20:45:19.345624"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:45:19.424461"], ["updated_at", "2015-11-12 20:45:19.424461"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 20:45:19.457936"], ["updated_at", "2015-11-12 20:45:19.457936"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:19.460610"], ["updated_at", "2015-11-12 20:45:19.460610"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 20:45:19.461832"], ["updated_at", "2015-11-12 20:45:19.461832"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Street\n"], ["updated_at", "2015-11-12 20:45:19.466223"], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Street"], ["created_at", "2015-11-12 20:45:19.468651"], ["updated_at", "2015-11-12 20:45:19.468651"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Street ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:19.474378"], ["updated_at", "2015-11-12 20:45:19.474378"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:19.476931"], ["updated_at", "2015-11-12 20:45:19.476931"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:19.478243"], ["updated_at", "2015-11-12 20:45:19.478243"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:19.483705"], ["updated_at", "2015-11-12 20:45:19.483705"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:19.486573"], ["updated_at", "2015-11-12 20:45:19.486573"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:19.487925"], ["updated_at", "2015-11-12 20:45:19.487925"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 20:45:19.492499"], ["updated_at", "2015-11-12 20:45:19.492499"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 20:45:19.495098"], ["updated_at", "2015-11-12 20:45:19.495098"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 20:45:19.496721"], ["updated_at", "2015-11-12 20:45:19.496721"]]  (0.0ms) RELEASE SAVEPOINT active_record_2 MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "mgca_countries"  (0.0ms) SELECT COUNT(*) FROM "mgca_states"  (0.1ms) SELECT COUNT(*) FROM "mgca_cities"  (0.1ms) SELECT COUNT(*) FROM "mgca_districts"  (0.0ms) SELECT COUNT(*) FROM "mgca_subdistricts"  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\n"], ["updated_at", "2015-11-12 20:45:19.510333"], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "mgca_address_id", "street_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["mgca_address_id", 1], ["street_name", "Heinz-Kapelle-Str."], ["created_at", "2015-11-12 20:45:19.512944"], ["updated_at", "2015-11-12 20:45:19.512944"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 20:45:19.638288"], ["updated_at", "2015-11-12 20:45:19.638288"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:19.639628"], ["updated_at", "2015-11-12 20:45:19.639628"]] ### ### country .. magic_country ### SQL (0.0ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:19.648701"], ["updated_at", "2015-11-12 20:45:19.648701"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 20:45:19.653155"], ["updated_at", "2015-11-12 20:45:19.653155"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:19.654359"], ["updated_at", "2015-11-12 20:45:19.654359"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:19.662805"], ["updated_at", "2015-11-12 20:45:19.662805"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 20:45:19.665911"], ["updated_at", "2015-11-12 20:45:19.665911"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:19.666961"], ["updated_at", "2015-11-12 20:45:19.666961"]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:19.677900"], ["updated_at", "2015-11-12 20:45:19.677900"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 20:45:19.681546"], ["updated_at", "2015-11-12 20:45:19.681546"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:19.682500"], ["updated_at", "2015-11-12 20:45:19.682500"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:19.690152"], ["updated_at", "2015-11-12 20:45:19.690152"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 20:45:19.693427"], ["updated_at", "2015-11-12 20:45:19.693427"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:19.694442"], ["updated_at", "2015-11-12 20:45:19.694442"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:19.702105"], ["updated_at", "2015-11-12 20:45:19.702105"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "updated_at" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: 10407\nfetch_city: Berlin\nfetch_country: Germany\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["updated_at", "2015-11-12 20:45:19.510333"], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:19.752146"], ["updated_at", "2015-11-12 20:45:19.752146"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 20:45:19.861243"], ["updated_at", "2015-11-12 20:45:19.861243"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 20:45:19.863637"], ["updated_at", "2015-11-12 20:45:19.863637"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 20:45:19.865499"], ["updated_at", "2015-11-12 20:45:19.865499"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 20:45:19.867054"], ["updated_at", "2015-11-12 20:45:19.867054"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 20:45:19.871058"], ["updated_at", "2015-11-12 20:45:19.871058"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 20:45:19.872723"], ["updated_at", "2015-11-12 20:45:19.872723"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:45:19.935793"], ["updated_at", "2015-11-12 20:45:19.935793"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:45:19.937920"], ["updated_at", "2015-11-12 20:45:19.937920"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 20:45:19.941648"], ["updated_at", "2015-11-12 20:45:19.941648"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 20:45:19.943648"], ["updated_at", "2015-11-12 20:45:19.943648"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 20:45:19.953506"], ["updated_at", "2015-11-12 20:45:19.953506"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:45:19.955653"], ["updated_at", "2015-11-12 20:45:19.955653"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:19.958734"], ["updated_at", "2015-11-12 20:45:19.958734"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.0ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] SQL (0.1ms) INSERT INTO "mgca_countries" ("default_name", "iso_code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["default_name", "Germany"], ["iso_code", "DE"], ["created_at", "2015-11-12 20:45:20.063600"], ["updated_at", "2015-11-12 20:45:20.063600"]] SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:20.064534"], ["updated_at", "2015-11-12 20:45:20.064534"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.1ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:20.073719"], ["updated_at", "2015-11-12 20:45:20.073719"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] SQL (0.1ms) INSERT INTO "mgca_states" ("default_name", "short_name", "country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["created_at", "2015-11-12 20:45:20.077649"], ["updated_at", "2015-11-12 20:45:20.077649"]] SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:20.078655"], ["updated_at", "2015-11-12 20:45:20.078655"]] ### ### state .. magic_state ### SQL (0.0ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:20.086071"], ["updated_at", "2015-11-12 20:45:20.086071"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] SQL (0.1ms) INSERT INTO "mgca_cities" ("default_name", "short_name", "country_id", "state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1], ["created_at", "2015-11-12 20:45:20.090079"], ["updated_at", "2015-11-12 20:45:20.090079"]] SQL (0.1ms) INSERT INTO "mgca_city_translations" ("locale", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:20.091015"], ["updated_at", "2015-11-12 20:45:20.091015"]] ### ### city .. magic_city ### SQL (0.0ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:20.097147"], ["updated_at", "2015-11-12 20:45:20.097147"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.0ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] SQL (0.1ms) INSERT INTO "mgca_districts" ("default_name", "short_name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1], ["created_at", "2015-11-12 20:45:20.100115"], ["updated_at", "2015-11-12 20:45:20.100115"]] SQL (0.1ms) INSERT INTO "mgca_district_translations" ("locale", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:20.101511"], ["updated_at", "2015-11-12 20:45:20.101511"]] ### ### district .. magic_district ### SQL (0.0ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:20.108261"], ["updated_at", "2015-11-12 20:45:20.108261"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] SQL (0.1ms) INSERT INTO "mgca_subdistricts" ("default_name", "short_name", "city_id", "district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1], ["created_at", "2015-11-12 20:45:20.111721"], ["updated_at", "2015-11-12 20:45:20.111721"]] SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["locale", "en"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:20.112676"], ["updated_at", "2015-11-12 20:45:20.112676"]] ### ### subdistrict .. magic_subdistrict ### SQL (0.0ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.1ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:20.119703"], ["updated_at", "2015-11-12 20:45:20.119703"]] SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 20:45:19.955653"], ["updated_at", "2015-11-12 20:45:19.955653"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 1]] SQL (0.0ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 1], ["created_at", "2015-11-12 20:45:20.162751"], ["updated_at", "2015-11-12 20:45:20.162751"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 1]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 20:45:20.242692"], ["updated_at", "2015-11-12 20:45:20.242692"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 20:45:20.249255"], ["updated_at", "2015-11-12 20:45:20.249255"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 20:45:20.251021"], ["updated_at", "2015-11-12 20:45:20.251021"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:45:20.254165"], ["updated_at", "2015-11-12 20:45:20.254165"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### ### ### empty street translations ### SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 2]] ### ### set new street translations ### ### ### >>> COUNTRY: Germany ### MagicAddresses::Country Load (0.1ms) SELECT "mgca_countries".* FROM "mgca_countries" WHERE "mgca_countries"."default_name" = ? AND "mgca_countries"."iso_code" = ? ORDER BY "mgca_countries"."id" ASC LIMIT 1 [["default_name", "Germany"], ["iso_code", "DE"]] ### ### country .. magic_country ### SQL (0.1ms) DELETE FROM "mgca_country_translations" WHERE "mgca_country_translations"."mgca_country_id" = ? [["mgca_country_id", 1]] ### ### Country-Params (en) ... Germany ### SQL (0.0ms) INSERT INTO "mgca_country_translations" ("locale", "name", "mgca_country_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Germany"], ["mgca_country_id", 1], ["created_at", "2015-11-12 20:45:20.357208"], ["updated_at", "2015-11-12 20:45:20.357208"]] ### ### >>> STATE: Berlin ### MagicAddresses::State Load (0.0ms) SELECT "mgca_states".* FROM "mgca_states" WHERE "mgca_states"."default_name" = ? AND "mgca_states"."short_name" = ? AND "mgca_states"."country_id" = ? ORDER BY "mgca_states"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1]] ### ### state .. magic_state ### SQL (0.1ms) DELETE FROM "mgca_state_translations" WHERE "mgca_state_translations"."mgca_state_id" = ? [["mgca_state_id", 1]] ### ### State-Params (en) ... Berlin ### SQL (0.1ms) INSERT INTO "mgca_state_translations" ("locale", "name", "mgca_state_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_state_id", 1], ["created_at", "2015-11-12 20:45:20.364570"], ["updated_at", "2015-11-12 20:45:20.364570"]] ### ### >>> CITY: Berlin ### MagicAddresses::City Load (0.0ms) SELECT "mgca_cities".* FROM "mgca_cities" WHERE "mgca_cities"."default_name" = ? AND "mgca_cities"."short_name" = ? AND "mgca_cities"."country_id" = ? AND "mgca_cities"."state_id" = ? ORDER BY "mgca_cities"."id" ASC LIMIT 1 [["default_name", "Berlin"], ["short_name", "Berlin"], ["country_id", 1], ["state_id", 1]] ### ### city .. magic_city ### SQL (0.1ms) DELETE FROM "mgca_city_translations" WHERE "mgca_city_translations"."mgca_city_id" = ? [["mgca_city_id", 1]] ### ### City-Params (en) ... Berlin ### SQL (0.0ms) INSERT INTO "mgca_city_translations" ("locale", "name", "mgca_city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Berlin"], ["mgca_city_id", 1], ["created_at", "2015-11-12 20:45:20.372527"], ["updated_at", "2015-11-12 20:45:20.372527"]] ### ### >>> DISTRICT: Bezirk Pankow ### MagicAddresses::District Load (0.1ms) SELECT "mgca_districts".* FROM "mgca_districts" WHERE "mgca_districts"."default_name" = ? AND "mgca_districts"."short_name" = ? AND "mgca_districts"."city_id" = ? ORDER BY "mgca_districts"."id" ASC LIMIT 1 [["default_name", "Bezirk Pankow"], ["short_name", "Bezirk Pankow"], ["city_id", 1]] ### ### district .. magic_district ### SQL (0.1ms) DELETE FROM "mgca_district_translations" WHERE "mgca_district_translations"."mgca_district_id" = ? [["mgca_district_id", 1]] ### ### District-Params (en) ... Bezirk Pankow ### SQL (0.0ms) INSERT INTO "mgca_district_translations" ("locale", "name", "mgca_district_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Bezirk Pankow"], ["mgca_district_id", 1], ["created_at", "2015-11-12 20:45:20.380117"], ["updated_at", "2015-11-12 20:45:20.380117"]] ### ### >>> SUBDISTRICT: Prenzlauer Berg ### MagicAddresses::Subdistrict Load (0.0ms) SELECT "mgca_subdistricts".* FROM "mgca_subdistricts" WHERE "mgca_subdistricts"."default_name" = ? AND "mgca_subdistricts"."short_name" = ? AND "mgca_subdistricts"."city_id" = ? AND "mgca_subdistricts"."district_id" = ? ORDER BY "mgca_subdistricts"."id" ASC LIMIT 1 [["default_name", "Prenzlauer Berg"], ["short_name", "Prenzlauer Berg"], ["city_id", 1], ["district_id", 1]] ### ### subdistrict .. magic_subdistrict ### SQL (0.1ms) DELETE FROM "mgca_subdistrict_translations" WHERE "mgca_subdistrict_translations"."mgca_subdistrict_id" = ? [["mgca_subdistrict_id", 1]] ### ### Subdistrict-Params (en) ... Prenzlauer Berg ### SQL (0.0ms) INSERT INTO "mgca_subdistrict_translations" ("locale", "name", "mgca_subdistrict_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["name", "Prenzlauer Berg"], ["mgca_subdistrict_id", 1], ["created_at", "2015-11-12 20:45:20.388941"], ["updated_at", "2015-11-12 20:45:20.388941"]] SQL (0.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ?, "country_id" = ?, "state_id" = ?, "city_id" = ?, "district_id" = ?, "subdistrict_id" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 20:45:20.251021"], ["updated_at", "2015-11-12 20:45:20.251021"], ["id", 2], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["country_id", 1], ["state_id", 1], ["city_id", 1], ["district_id", 1], ["subdistrict_id", 1], ["id", 2]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Straße"], ["mgca_address_id", 2], ["created_at", "2015-11-12 20:45:20.437138"], ["updated_at", "2015-11-12 20:45:20.437138"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin 10407 ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 4]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 20:45:20.537003"], ["updated_at", "2015-11-12 20:45:20.537003"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "companies";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.8ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 21:00:16.944423"], ["updated_at", "2015-11-12 21:00:16.944423"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.9ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:16.962862"], ["updated_at", "2015-11-12 21:00:16.962862"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 21:00:16.965150"], ["updated_at", "2015-11-12 21:00:16.965150"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:16.980966"], ["updated_at", "2015-11-12 21:00:16.980966"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:16.983859"], ["updated_at", "2015-11-12 21:00:16.983859"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:16.985248"], ["updated_at", "2015-11-12 21:00:16.985248"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:16.990635"], ["updated_at", "2015-11-12 21:00:16.990635"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:16.993778"], ["updated_at", "2015-11-12 21:00:16.993778"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:16.995542"], ["updated_at", "2015-11-12 21:00:16.995542"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:17.002168"], ["updated_at", "2015-11-12 21:00:17.002168"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:17.004694"], ["updated_at", "2015-11-12 21:00:17.004694"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:17.006392"], ["updated_at", "2015-11-12 21:00:17.006392"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 21:00:17.015257"], ["updated_at", "2015-11-12 21:00:17.015257"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 21:00:17.018520"], ["updated_at", "2015-11-12 21:00:17.018520"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 21:00:17.021115"], ["updated_at", "2015-11-12 21:00:17.021115"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 21:00:17.023580"], ["updated_at", "2015-11-12 21:00:17.023580"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 21:00:17.026930"], ["updated_at", "2015-11-12 21:00:17.026930"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 21:00:17.028372"], ["updated_at", "2015-11-12 21:00:17.028372"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:00:17.109609"], ["updated_at", "2015-11-12 21:00:17.109609"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:00:17.119410"], ["updated_at", "2015-11-12 21:00:17.119410"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:00:17.124087"], ["updated_at", "2015-11-12 21:00:17.124087"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:00:17.125994"], ["updated_at", "2015-11-12 21:00:17.125994"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 21:00:17.139033"], ["updated_at", "2015-11-12 21:00:17.139033"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:00:17.144871"], ["updated_at", "2015-11-12 21:00:17.144871"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 21:00:17.149319"], ["updated_at", "2015-11-12 21:00:17.149319"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 21:00:17.144871"], ["updated_at", "2015-11-12 21:00:17.144871"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 21:00:17.334627"], ["updated_at", "2015-11-12 21:00:17.334627"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 21:00:17.343640"], ["updated_at", "2015-11-12 21:00:17.343640"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:00:17.345122"], ["updated_at", "2015-11-12 21:00:17.345122"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 21:00:17.348163"], ["updated_at", "2015-11-12 21:00:17.348163"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 21:00:17.425931"], ["updated_at", "2015-11-12 21:00:17.425931"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 21:00:17.460158"], ["updated_at", "2015-11-12 21:00:17.460158"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:17.463570"], ["updated_at", "2015-11-12 21:00:17.463570"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 21:00:17.465656"], ["updated_at", "2015-11-12 21:00:17.465656"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:17.472961"], ["updated_at", "2015-11-12 21:00:17.472961"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:17.475688"], ["updated_at", "2015-11-12 21:00:17.475688"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:17.477102"], ["updated_at", "2015-11-12 21:00:17.477102"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:17.483183"], ["updated_at", "2015-11-12 21:00:17.483183"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:17.485971"], ["updated_at", "2015-11-12 21:00:17.485971"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:17.487370"], ["updated_at", "2015-11-12 21:00:17.487370"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:00:17.493008"], ["updated_at", "2015-11-12 21:00:17.493008"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:00:17.495518"], ["updated_at", "2015-11-12 21:00:17.495518"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:00:17.496946"], ["updated_at", "2015-11-12 21:00:17.496946"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 21:00:17.502603"], ["updated_at", "2015-11-12 21:00:17.502603"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 21:00:17.503924"], ["updated_at", "2015-11-12 21:00:17.503924"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 21:00:17.505341"], ["updated_at", "2015-11-12 21:00:17.505341"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 21:00:17.506538"], ["updated_at", "2015-11-12 21:00:17.506538"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 21:00:17.509241"], ["updated_at", "2015-11-12 21:00:17.509241"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 21:00:17.510334"], ["updated_at", "2015-11-12 21:00:17.510334"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:00:17.555705"], ["updated_at", "2015-11-12 21:00:17.555705"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:00:17.557501"], ["updated_at", "2015-11-12 21:00:17.557501"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:00:17.561003"], ["updated_at", "2015-11-12 21:00:17.561003"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:00:17.563156"], ["updated_at", "2015-11-12 21:00:17.563156"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 21:00:17.572730"], ["updated_at", "2015-11-12 21:00:17.572730"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:00:17.574399"], ["updated_at", "2015-11-12 21:00:17.574399"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 21:00:17.577240"], ["updated_at", "2015-11-12 21:00:17.577240"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 21:00:17.574399"], ["updated_at", "2015-11-12 21:00:17.574399"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 21:00:17.689874"], ["updated_at", "2015-11-12 21:00:17.689874"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 21:00:17.701173"], ["updated_at", "2015-11-12 21:00:17.701173"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:00:17.703127"], ["updated_at", "2015-11-12 21:00:17.703127"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 21:00:17.706501"], ["updated_at", "2015-11-12 21:00:17.706501"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.0ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 21:00:17.803109"], ["updated_at", "2015-11-12 21:00:17.803109"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.4ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.9ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.3ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.4ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.5ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.1ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.2ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.4ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 21:37:23.830357"], ["updated_at", "2015-11-12 21:37:23.830357"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:23.860595"], ["updated_at", "2015-11-12 21:37:23.860595"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 21:37:23.863303"], ["updated_at", "2015-11-12 21:37:23.863303"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:23.883451"], ["updated_at", "2015-11-12 21:37:23.883451"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:23.887269"], ["updated_at", "2015-11-12 21:37:23.887269"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:23.889304"], ["updated_at", "2015-11-12 21:37:23.889304"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:23.897765"], ["updated_at", "2015-11-12 21:37:23.897765"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:23.900663"], ["updated_at", "2015-11-12 21:37:23.900663"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:23.901958"], ["updated_at", "2015-11-12 21:37:23.901958"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:23.908160"], ["updated_at", "2015-11-12 21:37:23.908160"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:23.910323"], ["updated_at", "2015-11-12 21:37:23.910323"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:23.911524"], ["updated_at", "2015-11-12 21:37:23.911524"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 21:37:23.918149"], ["updated_at", "2015-11-12 21:37:23.918149"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 21:37:23.922190"], ["updated_at", "2015-11-12 21:37:23.922190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 21:37:23.925197"], ["updated_at", "2015-11-12 21:37:23.925197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 21:37:23.927639"], ["updated_at", "2015-11-12 21:37:23.927639"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 21:37:23.931067"], ["updated_at", "2015-11-12 21:37:23.931067"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 21:37:23.932190"], ["updated_at", "2015-11-12 21:37:23.932190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:37:24.014176"], ["updated_at", "2015-11-12 21:37:24.014176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:37:24.023434"], ["updated_at", "2015-11-12 21:37:24.023434"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:37:24.028707"], ["updated_at", "2015-11-12 21:37:24.028707"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:37:24.031337"], ["updated_at", "2015-11-12 21:37:24.031337"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 21:37:24.049380"], ["updated_at", "2015-11-12 21:37:24.049380"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:37:24.054174"], ["updated_at", "2015-11-12 21:37:24.054174"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 21:37:24.058878"], ["updated_at", "2015-11-12 21:37:24.058878"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 21:37:24.054174"], ["updated_at", "2015-11-12 21:37:24.054174"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 21:37:24.286167"], ["updated_at", "2015-11-12 21:37:24.286167"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 21:37:24.298935"], ["updated_at", "2015-11-12 21:37:24.298935"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:37:24.300559"], ["updated_at", "2015-11-12 21:37:24.300559"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 21:37:24.303375"], ["updated_at", "2015-11-12 21:37:24.303375"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 21:37:24.401913"], ["updated_at", "2015-11-12 21:37:24.401913"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-12 21:37:24.440166"], ["updated_at", "2015-11-12 21:37:24.440166"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:24.443096"], ["updated_at", "2015-11-12 21:37:24.443096"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-12 21:37:24.444711"], ["updated_at", "2015-11-12 21:37:24.444711"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:24.453891"], ["updated_at", "2015-11-12 21:37:24.453891"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:24.457206"], ["updated_at", "2015-11-12 21:37:24.457206"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:24.458533"], ["updated_at", "2015-11-12 21:37:24.458533"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:24.463926"], ["updated_at", "2015-11-12 21:37:24.463926"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:24.466480"], ["updated_at", "2015-11-12 21:37:24.466480"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:24.467894"], ["updated_at", "2015-11-12 21:37:24.467894"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-12 21:37:24.473349"], ["updated_at", "2015-11-12 21:37:24.473349"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-12 21:37:24.476515"], ["updated_at", "2015-11-12 21:37:24.476515"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-12 21:37:24.479187"], ["updated_at", "2015-11-12 21:37:24.479187"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-12 21:37:24.487401"], ["updated_at", "2015-11-12 21:37:24.487401"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-12 21:37:24.488823"], ["updated_at", "2015-11-12 21:37:24.488823"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-12 21:37:24.490215"], ["updated_at", "2015-11-12 21:37:24.490215"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-12 21:37:24.491968"], ["updated_at", "2015-11-12 21:37:24.491968"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-12 21:37:24.494852"], ["updated_at", "2015-11-12 21:37:24.494852"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-12 21:37:24.496793"], ["updated_at", "2015-11-12 21:37:24.496793"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:37:24.549877"], ["updated_at", "2015-11-12 21:37:24.549877"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:37:24.551746"], ["updated_at", "2015-11-12 21:37:24.551746"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-12 21:37:24.555152"], ["updated_at", "2015-11-12 21:37:24.555152"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-12 21:37:24.556702"], ["updated_at", "2015-11-12 21:37:24.556702"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-12 21:37:24.568333"], ["updated_at", "2015-11-12 21:37:24.568333"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:37:24.572084"], ["updated_at", "2015-11-12 21:37:24.572084"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-12 21:37:24.576389"], ["updated_at", "2015-11-12 21:37:24.576389"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-12 21:37:24.572084"], ["updated_at", "2015-11-12 21:37:24.572084"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-12 21:37:24.707975"], ["updated_at", "2015-11-12 21:37:24.707975"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-12 21:37:24.720145"], ["updated_at", "2015-11-12 21:37:24.720145"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-12 21:37:24.721789"], ["updated_at", "2015-11-12 21:37:24.721789"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-12 21:37:24.725031"], ["updated_at", "2015-11-12 21:37:24.725031"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.0ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-12 21:37:24.802320"], ["updated_at", "2015-11-12 21:37:24.802320"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.8ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.4ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.5ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.6ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.1ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.1ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.3ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-13 09:18:47.975851"], ["updated_at", "2015-11-13 09:18:47.975851"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:48.002795"], ["updated_at", "2015-11-13 09:18:48.002795"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-13 09:18:48.005124"], ["updated_at", "2015-11-13 09:18:48.005124"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:48.024900"], ["updated_at", "2015-11-13 09:18:48.024900"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:48.027481"], ["updated_at", "2015-11-13 09:18:48.027481"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:48.028819"], ["updated_at", "2015-11-13 09:18:48.028819"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:48.034338"], ["updated_at", "2015-11-13 09:18:48.034338"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:48.036753"], ["updated_at", "2015-11-13 09:18:48.036753"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:48.037936"], ["updated_at", "2015-11-13 09:18:48.037936"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:48.043015"], ["updated_at", "2015-11-13 09:18:48.043015"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:48.045055"], ["updated_at", "2015-11-13 09:18:48.045055"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:48.046498"], ["updated_at", "2015-11-13 09:18:48.046498"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-13 09:18:48.053122"], ["updated_at", "2015-11-13 09:18:48.053122"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-13 09:18:48.057097"], ["updated_at", "2015-11-13 09:18:48.057097"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-13 09:18:48.060323"], ["updated_at", "2015-11-13 09:18:48.060323"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-13 09:18:48.063744"], ["updated_at", "2015-11-13 09:18:48.063744"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-13 09:18:48.067761"], ["updated_at", "2015-11-13 09:18:48.067761"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-13 09:18:48.069369"], ["updated_at", "2015-11-13 09:18:48.069369"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 09:18:48.148658"], ["updated_at", "2015-11-13 09:18:48.148658"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 09:18:48.155425"], ["updated_at", "2015-11-13 09:18:48.155425"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 09:18:48.159014"], ["updated_at", "2015-11-13 09:18:48.159014"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 09:18:48.160841"], ["updated_at", "2015-11-13 09:18:48.160841"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-13 09:18:48.175211"], ["updated_at", "2015-11-13 09:18:48.175211"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 09:18:48.179204"], ["updated_at", "2015-11-13 09:18:48.179204"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-13 09:18:48.182104"], ["updated_at", "2015-11-13 09:18:48.182104"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.6ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-13 09:18:48.179204"], ["updated_at", "2015-11-13 09:18:48.179204"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-13 09:18:48.881129"], ["updated_at", "2015-11-13 09:18:48.881129"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-13 09:18:48.890042"], ["updated_at", "2015-11-13 09:18:48.890042"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 09:18:48.891448"], ["updated_at", "2015-11-13 09:18:48.891448"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-13 09:18:48.894053"], ["updated_at", "2015-11-13 09:18:48.894053"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-13 09:18:48.972668"], ["updated_at", "2015-11-13 09:18:48.972668"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-13 09:18:49.007576"], ["updated_at", "2015-11-13 09:18:49.007576"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:49.010449"], ["updated_at", "2015-11-13 09:18:49.010449"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-13 09:18:49.011909"], ["updated_at", "2015-11-13 09:18:49.011909"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:49.020603"], ["updated_at", "2015-11-13 09:18:49.020603"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:49.023675"], ["updated_at", "2015-11-13 09:18:49.023675"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:49.025239"], ["updated_at", "2015-11-13 09:18:49.025239"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:49.031370"], ["updated_at", "2015-11-13 09:18:49.031370"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:49.033660"], ["updated_at", "2015-11-13 09:18:49.033660"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:49.034871"], ["updated_at", "2015-11-13 09:18:49.034871"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 09:18:49.040649"], ["updated_at", "2015-11-13 09:18:49.040649"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 09:18:49.043197"], ["updated_at", "2015-11-13 09:18:49.043197"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 09:18:49.044469"], ["updated_at", "2015-11-13 09:18:49.044469"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-13 09:18:49.049993"], ["updated_at", "2015-11-13 09:18:49.049993"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-13 09:18:49.051283"], ["updated_at", "2015-11-13 09:18:49.051283"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-13 09:18:49.052643"], ["updated_at", "2015-11-13 09:18:49.052643"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-13 09:18:49.053682"], ["updated_at", "2015-11-13 09:18:49.053682"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-13 09:18:49.056492"], ["updated_at", "2015-11-13 09:18:49.056492"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-13 09:18:49.057628"], ["updated_at", "2015-11-13 09:18:49.057628"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 09:18:49.100514"], ["updated_at", "2015-11-13 09:18:49.100514"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 09:18:49.102227"], ["updated_at", "2015-11-13 09:18:49.102227"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 09:18:49.105253"], ["updated_at", "2015-11-13 09:18:49.105253"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 09:18:49.106791"], ["updated_at", "2015-11-13 09:18:49.106791"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-13 09:18:49.116689"], ["updated_at", "2015-11-13 09:18:49.116689"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 09:18:49.118734"], ["updated_at", "2015-11-13 09:18:49.118734"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-13 09:18:49.121805"], ["updated_at", "2015-11-13 09:18:49.121805"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-13 09:18:49.118734"], ["updated_at", "2015-11-13 09:18:49.118734"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-13 09:18:49.278526"], ["updated_at", "2015-11-13 09:18:49.278526"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-13 09:18:49.288957"], ["updated_at", "2015-11-13 09:18:49.288957"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 09:18:49.290770"], ["updated_at", "2015-11-13 09:18:49.290770"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-13 09:18:49.293787"], ["updated_at", "2015-11-13 09:18:49.293787"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-13 09:18:49.369715"], ["updated_at", "2015-11-13 09:18:49.369715"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.7ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.6ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-13 10:05:19.875515"], ["updated_at", "2015-11-13 10:05:19.875515"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:19.906649"], ["updated_at", "2015-11-13 10:05:19.906649"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-13 10:05:19.909084"], ["updated_at", "2015-11-13 10:05:19.909084"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:19.929463"], ["updated_at", "2015-11-13 10:05:19.929463"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:19.932004"], ["updated_at", "2015-11-13 10:05:19.932004"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:19.933203"], ["updated_at", "2015-11-13 10:05:19.933203"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:19.938245"], ["updated_at", "2015-11-13 10:05:19.938245"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:19.940897"], ["updated_at", "2015-11-13 10:05:19.940897"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:19.942241"], ["updated_at", "2015-11-13 10:05:19.942241"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:19.948038"], ["updated_at", "2015-11-13 10:05:19.948038"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:19.951763"], ["updated_at", "2015-11-13 10:05:19.951763"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:19.953592"], ["updated_at", "2015-11-13 10:05:19.953592"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-13 10:05:19.961581"], ["updated_at", "2015-11-13 10:05:19.961581"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-13 10:05:19.965455"], ["updated_at", "2015-11-13 10:05:19.965455"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-13 10:05:19.968183"], ["updated_at", "2015-11-13 10:05:19.968183"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-13 10:05:19.970544"], ["updated_at", "2015-11-13 10:05:19.970544"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-13 10:05:19.974508"], ["updated_at", "2015-11-13 10:05:19.974508"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-13 10:05:19.976526"], ["updated_at", "2015-11-13 10:05:19.976526"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 10:05:20.051924"], ["updated_at", "2015-11-13 10:05:20.051924"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 10:05:20.058720"], ["updated_at", "2015-11-13 10:05:20.058720"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 10:05:20.062290"], ["updated_at", "2015-11-13 10:05:20.062290"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 10:05:20.064340"], ["updated_at", "2015-11-13 10:05:20.064340"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-13 10:05:20.082081"], ["updated_at", "2015-11-13 10:05:20.082081"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 10:05:20.085927"], ["updated_at", "2015-11-13 10:05:20.085927"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-13 10:05:20.088676"], ["updated_at", "2015-11-13 10:05:20.088676"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.6ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-13 10:05:20.085927"], ["updated_at", "2015-11-13 10:05:20.085927"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-13 10:05:20.375709"], ["updated_at", "2015-11-13 10:05:20.375709"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-13 10:05:20.385236"], ["updated_at", "2015-11-13 10:05:20.385236"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 10:05:20.386736"], ["updated_at", "2015-11-13 10:05:20.386736"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-13 10:05:20.389246"], ["updated_at", "2015-11-13 10:05:20.389246"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.2ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-13 10:05:20.469666"], ["updated_at", "2015-11-13 10:05:20.469666"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-13 10:05:20.501721"], ["updated_at", "2015-11-13 10:05:20.501721"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:20.504356"], ["updated_at", "2015-11-13 10:05:20.504356"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-13 10:05:20.505730"], ["updated_at", "2015-11-13 10:05:20.505730"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:20.511179"], ["updated_at", "2015-11-13 10:05:20.511179"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:20.513751"], ["updated_at", "2015-11-13 10:05:20.513751"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:20.515181"], ["updated_at", "2015-11-13 10:05:20.515181"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:20.520805"], ["updated_at", "2015-11-13 10:05:20.520805"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:20.523006"], ["updated_at", "2015-11-13 10:05:20.523006"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:20.524140"], ["updated_at", "2015-11-13 10:05:20.524140"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-13 10:05:20.531216"], ["updated_at", "2015-11-13 10:05:20.531216"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-13 10:05:20.533438"], ["updated_at", "2015-11-13 10:05:20.533438"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-13 10:05:20.534755"], ["updated_at", "2015-11-13 10:05:20.534755"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-13 10:05:20.540047"], ["updated_at", "2015-11-13 10:05:20.540047"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-13 10:05:20.541376"], ["updated_at", "2015-11-13 10:05:20.541376"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-13 10:05:20.542610"], ["updated_at", "2015-11-13 10:05:20.542610"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-13 10:05:20.543601"], ["updated_at", "2015-11-13 10:05:20.543601"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-13 10:05:20.546286"], ["updated_at", "2015-11-13 10:05:20.546286"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-13 10:05:20.547463"], ["updated_at", "2015-11-13 10:05:20.547463"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 10:05:20.596057"], ["updated_at", "2015-11-13 10:05:20.596057"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 10:05:20.597888"], ["updated_at", "2015-11-13 10:05:20.597888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-13 10:05:20.601092"], ["updated_at", "2015-11-13 10:05:20.601092"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-13 10:05:20.602768"], ["updated_at", "2015-11-13 10:05:20.602768"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-13 10:05:20.613671"], ["updated_at", "2015-11-13 10:05:20.613671"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 10:05:20.615582"], ["updated_at", "2015-11-13 10:05:20.615582"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-13 10:05:20.618655"], ["updated_at", "2015-11-13 10:05:20.618655"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-13 10:05:20.615582"], ["updated_at", "2015-11-13 10:05:20.615582"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-13 10:05:20.735563"], ["updated_at", "2015-11-13 10:05:20.735563"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-13 10:05:20.746626"], ["updated_at", "2015-11-13 10:05:20.746626"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-13 10:05:20.748059"], ["updated_at", "2015-11-13 10:05:20.748059"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-13 10:05:20.750716"], ["updated_at", "2015-11-13 10:05:20.750716"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-13 10:05:20.856032"], ["updated_at", "2015-11-13 10:05:20.856032"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.1ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.9ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.8ms) DELETE FROM "mgca_cities";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.3ms) DELETE FROM "mgca_countries";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (1.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.4ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.4ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.2ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:01:25.865799"], ["updated_at", "2015-11-16 10:01:25.865799"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:25.898275"], ["updated_at", "2015-11-16 10:01:25.898275"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:01:25.900725"], ["updated_at", "2015-11-16 10:01:25.900725"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:25.919725"], ["updated_at", "2015-11-16 10:01:25.919725"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:25.922205"], ["updated_at", "2015-11-16 10:01:25.922205"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:25.923373"], ["updated_at", "2015-11-16 10:01:25.923373"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:25.928858"], ["updated_at", "2015-11-16 10:01:25.928858"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:25.931526"], ["updated_at", "2015-11-16 10:01:25.931526"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:25.932796"], ["updated_at", "2015-11-16 10:01:25.932796"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:25.937973"], ["updated_at", "2015-11-16 10:01:25.937973"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:25.940088"], ["updated_at", "2015-11-16 10:01:25.940088"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:25.941406"], ["updated_at", "2015-11-16 10:01:25.941406"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:01:25.948258"], ["updated_at", "2015-11-16 10:01:25.948258"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:01:25.952337"], ["updated_at", "2015-11-16 10:01:25.952337"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:01:25.955888"], ["updated_at", "2015-11-16 10:01:25.955888"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:01:25.958915"], ["updated_at", "2015-11-16 10:01:25.958915"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:01:25.962405"], ["updated_at", "2015-11-16 10:01:25.962405"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:01:25.964077"], ["updated_at", "2015-11-16 10:01:25.964077"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:01:26.038770"], ["updated_at", "2015-11-16 10:01:26.038770"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:01:26.046131"], ["updated_at", "2015-11-16 10:01:26.046131"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:01:26.050157"], ["updated_at", "2015-11-16 10:01:26.050157"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:01:26.051987"], ["updated_at", "2015-11-16 10:01:26.051987"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:01:26.067257"], ["updated_at", "2015-11-16 10:01:26.067257"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:01:26.071820"], ["updated_at", "2015-11-16 10:01:26.071820"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:01:26.075699"], ["updated_at", "2015-11-16 10:01:26.075699"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:01:26.071820"], ["updated_at", "2015-11-16 10:01:26.071820"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:01:26.320690"], ["updated_at", "2015-11-16 10:01:26.320690"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:01:26.333455"], ["updated_at", "2015-11-16 10:01:26.333455"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:01:26.335562"], ["updated_at", "2015-11-16 10:01:26.335562"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:01:26.339043"], ["updated_at", "2015-11-16 10:01:26.339043"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.3ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:01:26.470630"], ["updated_at", "2015-11-16 10:01:26.470630"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:01:26.504324"], ["updated_at", "2015-11-16 10:01:26.504324"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:26.506851"], ["updated_at", "2015-11-16 10:01:26.506851"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:01:26.508375"], ["updated_at", "2015-11-16 10:01:26.508375"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:26.514700"], ["updated_at", "2015-11-16 10:01:26.514700"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:26.517109"], ["updated_at", "2015-11-16 10:01:26.517109"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:26.518363"], ["updated_at", "2015-11-16 10:01:26.518363"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:26.524642"], ["updated_at", "2015-11-16 10:01:26.524642"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:26.527859"], ["updated_at", "2015-11-16 10:01:26.527859"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:26.529424"], ["updated_at", "2015-11-16 10:01:26.529424"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:01:26.536256"], ["updated_at", "2015-11-16 10:01:26.536256"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:01:26.539338"], ["updated_at", "2015-11-16 10:01:26.539338"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:01:26.541556"], ["updated_at", "2015-11-16 10:01:26.541556"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:01:26.549906"], ["updated_at", "2015-11-16 10:01:26.549906"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:01:26.552096"], ["updated_at", "2015-11-16 10:01:26.552096"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:01:26.554084"], ["updated_at", "2015-11-16 10:01:26.554084"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:01:26.555722"], ["updated_at", "2015-11-16 10:01:26.555722"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:01:26.559190"], ["updated_at", "2015-11-16 10:01:26.559190"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:01:26.560836"], ["updated_at", "2015-11-16 10:01:26.560836"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:01:26.607470"], ["updated_at", "2015-11-16 10:01:26.607470"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:01:26.609146"], ["updated_at", "2015-11-16 10:01:26.609146"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:01:26.613415"], ["updated_at", "2015-11-16 10:01:26.613415"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:01:26.615669"], ["updated_at", "2015-11-16 10:01:26.615669"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:01:26.627424"], ["updated_at", "2015-11-16 10:01:26.627424"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:01:26.629391"], ["updated_at", "2015-11-16 10:01:26.629391"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:01:26.633123"], ["updated_at", "2015-11-16 10:01:26.633123"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:01:26.629391"], ["updated_at", "2015-11-16 10:01:26.629391"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:01:26.776938"], ["updated_at", "2015-11-16 10:01:26.776938"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:01:26.789915"], ["updated_at", "2015-11-16 10:01:26.789915"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:01:26.791647"], ["updated_at", "2015-11-16 10:01:26.791647"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:01:26.794968"], ["updated_at", "2015-11-16 10:01:26.794968"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:01:26.888728"], ["updated_at", "2015-11-16 10:01:26.888728"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (2.0ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.9ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (2.1ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.5ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (1.0ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.5ms) DELETE FROM "mgca_states";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (1.4ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.0ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:10:45.080768"], ["updated_at", "2015-11-16 10:10:45.080768"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.101837"], ["updated_at", "2015-11-16 10:10:45.101837"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:10:45.103992"], ["updated_at", "2015-11-16 10:10:45.103992"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.117969"], ["updated_at", "2015-11-16 10:10:45.117969"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.120474"], ["updated_at", "2015-11-16 10:10:45.120474"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.121552"], ["updated_at", "2015-11-16 10:10:45.121552"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.126609"], ["updated_at", "2015-11-16 10:10:45.126609"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.128880"], ["updated_at", "2015-11-16 10:10:45.128880"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.130043"], ["updated_at", "2015-11-16 10:10:45.130043"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.136099"], ["updated_at", "2015-11-16 10:10:45.136099"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.139984"], ["updated_at", "2015-11-16 10:10:45.139984"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.142279"], ["updated_at", "2015-11-16 10:10:45.142279"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:10:45.152063"], ["updated_at", "2015-11-16 10:10:45.152063"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:10:45.157245"], ["updated_at", "2015-11-16 10:10:45.157245"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:10:45.160501"], ["updated_at", "2015-11-16 10:10:45.160501"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:10:45.163100"], ["updated_at", "2015-11-16 10:10:45.163100"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:10:45.166465"], ["updated_at", "2015-11-16 10:10:45.166465"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:10:45.167676"], ["updated_at", "2015-11-16 10:10:45.167676"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:10:45.240053"], ["updated_at", "2015-11-16 10:10:45.240053"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:10:45.249123"], ["updated_at", "2015-11-16 10:10:45.249123"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (1.0ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:10:45.253733"], ["updated_at", "2015-11-16 10:10:45.253733"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:10:45.256796"], ["updated_at", "2015-11-16 10:10:45.256796"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:10:45.272475"], ["updated_at", "2015-11-16 10:10:45.272475"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:10:45.276620"], ["updated_at", "2015-11-16 10:10:45.276620"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:10:45.279529"], ["updated_at", "2015-11-16 10:10:45.279529"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:10:45.276620"], ["updated_at", "2015-11-16 10:10:45.276620"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:10:45.446781"], ["updated_at", "2015-11-16 10:10:45.446781"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:10:45.461850"], ["updated_at", "2015-11-16 10:10:45.461850"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:10:45.463997"], ["updated_at", "2015-11-16 10:10:45.463997"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:10:45.467629"], ["updated_at", "2015-11-16 10:10:45.467629"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:10:45.555299"], ["updated_at", "2015-11-16 10:10:45.555299"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.4ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:10:45.587328"], ["updated_at", "2015-11-16 10:10:45.587328"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.590434"], ["updated_at", "2015-11-16 10:10:45.590434"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:10:45.592148"], ["updated_at", "2015-11-16 10:10:45.592148"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.598099"], ["updated_at", "2015-11-16 10:10:45.598099"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.600626"], ["updated_at", "2015-11-16 10:10:45.600626"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.601960"], ["updated_at", "2015-11-16 10:10:45.601960"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.607938"], ["updated_at", "2015-11-16 10:10:45.607938"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.610256"], ["updated_at", "2015-11-16 10:10:45.610256"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.611507"], ["updated_at", "2015-11-16 10:10:45.611507"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:10:45.617558"], ["updated_at", "2015-11-16 10:10:45.617558"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:10:45.619858"], ["updated_at", "2015-11-16 10:10:45.619858"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:10:45.621187"], ["updated_at", "2015-11-16 10:10:45.621187"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:10:45.627365"], ["updated_at", "2015-11-16 10:10:45.627365"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:10:45.629028"], ["updated_at", "2015-11-16 10:10:45.629028"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:10:45.630470"], ["updated_at", "2015-11-16 10:10:45.630470"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:10:45.631622"], ["updated_at", "2015-11-16 10:10:45.631622"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:10:45.635404"], ["updated_at", "2015-11-16 10:10:45.635404"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:10:45.637849"], ["updated_at", "2015-11-16 10:10:45.637849"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:10:45.685097"], ["updated_at", "2015-11-16 10:10:45.685097"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:10:45.686823"], ["updated_at", "2015-11-16 10:10:45.686823"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:10:45.690154"], ["updated_at", "2015-11-16 10:10:45.690154"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:10:45.692306"], ["updated_at", "2015-11-16 10:10:45.692306"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:10:45.701470"], ["updated_at", "2015-11-16 10:10:45.701470"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:10:45.703440"], ["updated_at", "2015-11-16 10:10:45.703440"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:10:45.707954"], ["updated_at", "2015-11-16 10:10:45.707954"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:10:45.703440"], ["updated_at", "2015-11-16 10:10:45.703440"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:10:45.821797"], ["updated_at", "2015-11-16 10:10:45.821797"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:10:45.835307"], ["updated_at", "2015-11-16 10:10:45.835307"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:10:45.836980"], ["updated_at", "2015-11-16 10:10:45.836980"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:10:45.839869"], ["updated_at", "2015-11-16 10:10:45.839869"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:10:45.944090"], ["updated_at", "2015-11-16 10:10:45.944090"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.3ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:12:33.827334"], ["updated_at", "2015-11-16 10:12:33.827334"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (1.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:33.848610"], ["updated_at", "2015-11-16 10:12:33.848610"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:12:33.851004"], ["updated_at", "2015-11-16 10:12:33.851004"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:33.864895"], ["updated_at", "2015-11-16 10:12:33.864895"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:33.868261"], ["updated_at", "2015-11-16 10:12:33.868261"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:33.869858"], ["updated_at", "2015-11-16 10:12:33.869858"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:33.876769"], ["updated_at", "2015-11-16 10:12:33.876769"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:33.880299"], ["updated_at", "2015-11-16 10:12:33.880299"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:33.882001"], ["updated_at", "2015-11-16 10:12:33.882001"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:33.888564"], ["updated_at", "2015-11-16 10:12:33.888564"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.6ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:33.890859"], ["updated_at", "2015-11-16 10:12:33.890859"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:33.892469"], ["updated_at", "2015-11-16 10:12:33.892469"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:12:33.899749"], ["updated_at", "2015-11-16 10:12:33.899749"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:12:33.903361"], ["updated_at", "2015-11-16 10:12:33.903361"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:12:33.906073"], ["updated_at", "2015-11-16 10:12:33.906073"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:12:33.908953"], ["updated_at", "2015-11-16 10:12:33.908953"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:12:33.913710"], ["updated_at", "2015-11-16 10:12:33.913710"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:12:33.915348"], ["updated_at", "2015-11-16 10:12:33.915348"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.1ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:12:33.991750"], ["updated_at", "2015-11-16 10:12:33.991750"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.5ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:12:33.999226"], ["updated_at", "2015-11-16 10:12:33.999226"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:12:34.005123"], ["updated_at", "2015-11-16 10:12:34.005123"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:12:34.007946"], ["updated_at", "2015-11-16 10:12:34.007946"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:12:34.025429"], ["updated_at", "2015-11-16 10:12:34.025429"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:34.030683"], ["updated_at", "2015-11-16 10:12:34.030683"]] SQL (0.2ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:12:34.033929"], ["updated_at", "2015-11-16 10:12:34.033929"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:12:34.030683"], ["updated_at", "2015-11-16 10:12:34.030683"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:12:34.667038"], ["updated_at", "2015-11-16 10:12:34.667038"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:12:34.677519"], ["updated_at", "2015-11-16 10:12:34.677519"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:34.679174"], ["updated_at", "2015-11-16 10:12:34.679174"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:12:34.681998"], ["updated_at", "2015-11-16 10:12:34.681998"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:12:34.770493"], ["updated_at", "2015-11-16 10:12:34.770493"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Test User"], ["created_at", "2015-11-16 10:12:34.810610"], ["updated_at", "2015-11-16 10:12:34.810610"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:34.813167"], ["updated_at", "2015-11-16 10:12:34.813167"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Test"], ["created_at", "2015-11-16 10:12:34.814404"], ["updated_at", "2015-11-16 10:12:34.814404"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:34.819863"], ["updated_at", "2015-11-16 10:12:34.819863"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:34.822498"], ["updated_at", "2015-11-16 10:12:34.822498"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:34.823816"], ["updated_at", "2015-11-16 10:12:34.823816"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:34.829094"], ["updated_at", "2015-11-16 10:12:34.829094"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:34.831459"], ["updated_at", "2015-11-16 10:12:34.831459"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:34.832833"], ["updated_at", "2015-11-16 10:12:34.832833"]] MagicAddresses::Address::Translation Load (0.1ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some User"], ["created_at", "2015-11-16 10:12:34.840359"], ["updated_at", "2015-11-16 10:12:34.840359"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "owner_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["owner_type", "User"], ["owner_id", 1], ["created_at", "2015-11-16 10:12:34.843559"], ["updated_at", "2015-11-16 10:12:34.843559"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["fetch_address", nil], ["name", "Another"], ["created_at", "2015-11-16 10:12:34.845103"], ["updated_at", "2015-11-16 10:12:34.845103"]] MagicAddresses::Address::Translation Load (0.0ms) SELECT "mgca_address_translations".* FROM "mgca_address_translations" WHERE "mgca_address_translations"."mgca_address_id" = ? [["mgca_address_id", 1]] ### ### triggered A D D R E S S - B U I L D E R ! - - ###  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bud Spencer"], ["created_at", "2015-11-16 10:12:34.851205"], ["updated_at", "2015-11-16 10:12:34.851205"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Terence Hill"], ["created_at", "2015-11-16 10:12:34.852469"], ["updated_at", "2015-11-16 10:12:34.852469"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "The Dude"], ["created_at", "2015-11-16 10:12:34.854540"], ["updated_at", "2015-11-16 10:12:34.854540"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Some Guy"], ["created_at", "2015-11-16 10:12:34.855943"], ["updated_at", "2015-11-16 10:12:34.855943"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Micha Schmidt"], ["created_at", "2015-11-16 10:12:34.859527"], ["updated_at", "2015-11-16 10:12:34.859527"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Ingo Mueller"], ["created_at", "2015-11-16 10:12:34.861020"], ["updated_at", "2015-11-16 10:12:34.861020"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 TestAddress::Translation Load (0.2ms) SELECT DISTINCT locale FROM "mgca_address_translations" ORDER BY "mgca_address_translations"."locale" ASC  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:12:34.907404"], ["updated_at", "2015-11-16 10:12:34.907404"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:12:34.909493"], ["updated_at", "2015-11-16 10:12:34.909493"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Berlin"], ["created_at", "2015-11-16 10:12:34.913664"], ["updated_at", "2015-11-16 10:12:34.913664"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "mgca_addresses" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Potsdam"], ["created_at", "2015-11-16 10:12:34.915644"], ["updated_at", "2015-11-16 10:12:34.915644"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:12:34.924591"], ["updated_at", "2015-11-16 10:12:34.924591"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:34.926381"], ["updated_at", "2015-11-16 10:12:34.926381"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:12:34.929009"], ["updated_at", "2015-11-16 10:12:34.929009"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:12:34.926381"], ["updated_at", "2015-11-16 10:12:34.926381"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:12:35.064505"], ["updated_at", "2015-11-16 10:12:35.064505"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:12:35.075271"], ["updated_at", "2015-11-16 10:12:35.075271"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:35.076858"], ["updated_at", "2015-11-16 10:12:35.076858"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:12:35.079595"], ["updated_at", "2015-11-16 10:12:35.079595"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:12:35.171709"], ["updated_at", "2015-11-16 10:12:35.171709"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:12:53.650437"], ["updated_at", "2015-11-16 10:12:53.650437"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:53.656671"], ["updated_at", "2015-11-16 10:12:53.656671"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:12:53.660118"], ["updated_at", "2015-11-16 10:12:53.660118"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:12:53.656671"], ["updated_at", "2015-11-16 10:12:53.656671"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:12:53.789817"], ["updated_at", "2015-11-16 10:12:53.789817"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:12:53.799007"], ["updated_at", "2015-11-16 10:12:53.799007"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:53.800463"], ["updated_at", "2015-11-16 10:12:53.800463"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:12:53.803021"], ["updated_at", "2015-11-16 10:12:53.803021"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:12:53.878622"], ["updated_at", "2015-11-16 10:12:53.878622"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:12:53.890732"], ["updated_at", "2015-11-16 10:12:53.890732"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:53.892394"], ["updated_at", "2015-11-16 10:12:53.892394"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:12:53.895259"], ["updated_at", "2015-11-16 10:12:53.895259"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:12:53.892394"], ["updated_at", "2015-11-16 10:12:53.892394"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:12:54.072250"], ["updated_at", "2015-11-16 10:12:54.072250"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:12:54.083062"], ["updated_at", "2015-11-16 10:12:54.083062"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:12:54.084925"], ["updated_at", "2015-11-16 10:12:54.084925"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:12:54.088010"], ["updated_at", "2015-11-16 10:12:54.088010"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:12:54.170333"], ["updated_at", "2015-11-16 10:12:54.170333"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses"  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.3ms) DELETE FROM "mgca_addresses";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.8ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.6ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:13:46.393621"], ["updated_at", "2015-11-16 10:13:46.393621"]] SQL (0.4ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:13:46.399187"], ["updated_at", "2015-11-16 10:13:46.399187"]] SQL (0.3ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:13:46.404042"], ["updated_at", "2015-11-16 10:13:46.404042"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:13:46.399187"], ["updated_at", "2015-11-16 10:13:46.399187"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:13:46.563800"], ["updated_at", "2015-11-16 10:13:46.563800"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:13:46.573610"], ["updated_at", "2015-11-16 10:13:46.573610"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:13:46.575079"], ["updated_at", "2015-11-16 10:13:46.575079"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:13:46.577643"], ["updated_at", "2015-11-16 10:13:46.577643"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:13:46.655589"], ["updated_at", "2015-11-16 10:13:46.655589"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.8ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:13:46.667584"], ["updated_at", "2015-11-16 10:13:46.667584"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:13:46.669336"], ["updated_at", "2015-11-16 10:13:46.669336"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:13:46.672475"], ["updated_at", "2015-11-16 10:13:46.672475"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:13:46.669336"], ["updated_at", "2015-11-16 10:13:46.669336"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:13:46.786244"], ["updated_at", "2015-11-16 10:13:46.786244"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:13:46.795573"], ["updated_at", "2015-11-16 10:13:46.795573"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:13:46.796997"], ["updated_at", "2015-11-16 10:13:46.796997"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:13:46.799512"], ["updated_at", "2015-11-16 10:13:46.799512"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:13:46.872668"], ["updated_at", "2015-11-16 10:13:46.872668"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.9ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.6ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.8ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.7ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:14:31.665645"], ["updated_at", "2015-11-16 10:14:31.665645"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:14:31.671979"], ["updated_at", "2015-11-16 10:14:31.671979"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:14:31.675963"], ["updated_at", "2015-11-16 10:14:31.675963"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:14:31.671979"], ["updated_at", "2015-11-16 10:14:31.671979"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:14:31.806493"], ["updated_at", "2015-11-16 10:14:31.806493"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:14:31.819079"], ["updated_at", "2015-11-16 10:14:31.819079"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:14:31.820979"], ["updated_at", "2015-11-16 10:14:31.820979"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:14:31.824088"], ["updated_at", "2015-11-16 10:14:31.824088"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:14:31.902428"], ["updated_at", "2015-11-16 10:14:31.902428"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:14:31.917496"], ["updated_at", "2015-11-16 10:14:31.917496"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:14:31.920387"], ["updated_at", "2015-11-16 10:14:31.920387"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:14:31.924680"], ["updated_at", "2015-11-16 10:14:31.924680"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.3ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:14:31.920387"], ["updated_at", "2015-11-16 10:14:31.920387"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:14:32.036534"], ["updated_at", "2015-11-16 10:14:32.036534"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:14:32.046483"], ["updated_at", "2015-11-16 10:14:32.046483"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:14:32.047909"], ["updated_at", "2015-11-16 10:14:32.047909"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:14:32.050670"], ["updated_at", "2015-11-16 10:14:32.050670"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:14:32.156714"], ["updated_at", "2015-11-16 10:14:32.156714"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (2.9ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.7ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (2.0ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.9ms) DELETE FROM "mgca_city_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.2ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (2.0ms) DELETE FROM "mgca_country_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (2.1ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.3ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (1.0ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.4ms) DELETE FROM "mgca_states";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (2.0ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.9ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.2ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:22:32.465399"], ["updated_at", "2015-11-16 10:22:32.465399"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:22:32.472641"], ["updated_at", "2015-11-16 10:22:32.472641"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:22:32.476865"], ["updated_at", "2015-11-16 10:22:32.476865"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:22:32.472641"], ["updated_at", "2015-11-16 10:22:32.472641"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:22:32.686903"], ["updated_at", "2015-11-16 10:22:32.686903"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:22:32.698141"], ["updated_at", "2015-11-16 10:22:32.698141"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:22:32.699659"], ["updated_at", "2015-11-16 10:22:32.699659"]] SQL (0.3ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:22:32.702414"], ["updated_at", "2015-11-16 10:22:32.702414"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:22:32.786014"], ["updated_at", "2015-11-16 10:22:32.786014"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:22:32.798106"], ["updated_at", "2015-11-16 10:22:32.798106"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:22:32.799736"], ["updated_at", "2015-11-16 10:22:32.799736"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:22:32.802369"], ["updated_at", "2015-11-16 10:22:32.802369"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.5ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:22:32.799736"], ["updated_at", "2015-11-16 10:22:32.799736"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:22:32.910045"], ["updated_at", "2015-11-16 10:22:32.910045"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:22:32.919876"], ["updated_at", "2015-11-16 10:22:32.919876"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:22:32.921305"], ["updated_at", "2015-11-16 10:22:32.921305"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:22:32.924047"], ["updated_at", "2015-11-16 10:22:32.924047"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:22:33.003176"], ["updated_at", "2015-11-16 10:22:33.003176"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.0ms) DELETE FROM "mgca_address_translations";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.8ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.7ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.6ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.6ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:23:00.568805"], ["updated_at", "2015-11-16 10:23:00.568805"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:23:00.575610"], ["updated_at", "2015-11-16 10:23:00.575610"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:23:00.579825"], ["updated_at", "2015-11-16 10:23:00.579825"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:23:00.575610"], ["updated_at", "2015-11-16 10:23:00.575610"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.3ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:23:00.722965"], ["updated_at", "2015-11-16 10:23:00.722965"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:23:00.738160"], ["updated_at", "2015-11-16 10:23:00.738160"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:23:00.740091"], ["updated_at", "2015-11-16 10:23:00.740091"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:23:00.744394"], ["updated_at", "2015-11-16 10:23:00.744394"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:23:00.821374"], ["updated_at", "2015-11-16 10:23:00.821374"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:23:00.837697"], ["updated_at", "2015-11-16 10:23:00.837697"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:23:00.839548"], ["updated_at", "2015-11-16 10:23:00.839548"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:23:00.842467"], ["updated_at", "2015-11-16 10:23:00.842467"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:23:00.839548"], ["updated_at", "2015-11-16 10:23:00.839548"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:23:00.980130"], ["updated_at", "2015-11-16 10:23:00.980130"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:23:00.989712"], ["updated_at", "2015-11-16 10:23:00.989712"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:23:00.991098"], ["updated_at", "2015-11-16 10:23:00.991098"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:23:00.993891"], ["updated_at", "2015-11-16 10:23:00.993891"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:23:01.116123"], ["updated_at", "2015-11-16 10:23:01.116123"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.4ms) DELETE FROM sqlite_sequence where name = 'companies';  (1.1ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (3.2ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (1.9ms) DELETE FROM "mgca_addressibles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (1.9ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (1.5ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (1.1ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (1.9ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (2.1ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (1.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (1.0ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (1.5ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.9ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (2.0ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (1.3ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:28:34.047906"], ["updated_at", "2015-11-16 10:28:34.047906"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:34.055682"], ["updated_at", "2015-11-16 10:28:34.055682"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:28:34.060059"], ["updated_at", "2015-11-16 10:28:34.060059"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.2ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:28:34.055682"], ["updated_at", "2015-11-16 10:28:34.055682"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:28:34.618643"], ["updated_at", "2015-11-16 10:28:34.618643"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:28:34.628256"], ["updated_at", "2015-11-16 10:28:34.628256"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:34.629691"], ["updated_at", "2015-11-16 10:28:34.629691"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:28:34.632155"], ["updated_at", "2015-11-16 10:28:34.632155"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.2ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:28:34.711352"], ["updated_at", "2015-11-16 10:28:34.711352"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:28:34.727259"], ["updated_at", "2015-11-16 10:28:34.727259"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:34.729157"], ["updated_at", "2015-11-16 10:28:34.729157"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:28:34.732056"], ["updated_at", "2015-11-16 10:28:34.732056"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:28:34.729157"], ["updated_at", "2015-11-16 10:28:34.729157"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (5.4ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:28:34.882163"], ["updated_at", "2015-11-16 10:28:34.882163"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:28:34.897292"], ["updated_at", "2015-11-16 10:28:34.897292"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:34.898868"], ["updated_at", "2015-11-16 10:28:34.898868"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:28:34.901554"], ["updated_at", "2015-11-16 10:28:34.901554"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:28:34.975765"], ["updated_at", "2015-11-16 10:28:34.975765"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.5ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.8ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (0.8ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.6ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.7ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.7ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.7ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.8ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.7ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.9ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.7ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.8ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.7ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:28:40.468604"], ["updated_at", "2015-11-16 10:28:40.468604"]] SQL (0.2ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:40.474495"], ["updated_at", "2015-11-16 10:28:40.474495"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:28:40.478493"], ["updated_at", "2015-11-16 10:28:40.478493"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:28:40.474495"], ["updated_at", "2015-11-16 10:28:40.474495"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:28:40.598296"], ["updated_at", "2015-11-16 10:28:40.598296"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:28:40.607503"], ["updated_at", "2015-11-16 10:28:40.607503"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:40.608895"], ["updated_at", "2015-11-16 10:28:40.608895"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:28:40.611451"], ["updated_at", "2015-11-16 10:28:40.611451"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:28:40.688543"], ["updated_at", "2015-11-16 10:28:40.688543"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.9ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:28:40.701829"], ["updated_at", "2015-11-16 10:28:40.701829"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:40.703590"], ["updated_at", "2015-11-16 10:28:40.703590"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:28:40.706547"], ["updated_at", "2015-11-16 10:28:40.706547"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:28:40.703590"], ["updated_at", "2015-11-16 10:28:40.703590"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:28:40.817493"], ["updated_at", "2015-11-16 10:28:40.817493"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:28:40.827420"], ["updated_at", "2015-11-16 10:28:40.827420"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:28:40.828867"], ["updated_at", "2015-11-16 10:28:40.828867"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:28:40.831479"], ["updated_at", "2015-11-16 10:28:40.831479"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.0ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:28:40.905436"], ["updated_at", "2015-11-16 10:28:40.905436"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.7ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) DELETE FROM "companies";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'companies';  (0.9ms) DELETE FROM "mgca_address_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_address_translations';  (1.0ms) DELETE FROM "mgca_addresses";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addresses';  (0.7ms) DELETE FROM "mgca_addressibles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_addressibles';  (0.8ms) DELETE FROM "mgca_cities";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_cities';  (0.8ms) DELETE FROM "mgca_city_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_city_translations';  (0.7ms) DELETE FROM "mgca_countries";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_countries';  (0.8ms) DELETE FROM "mgca_country_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_country_translations';  (0.7ms) DELETE FROM "mgca_district_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_district_translations';  (0.6ms) DELETE FROM "mgca_districts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_districts';  (0.8ms) DELETE FROM "mgca_state_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_state_translations';  (0.8ms) DELETE FROM "mgca_states";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_states';  (0.7ms) DELETE FROM "mgca_subdistrict_translations";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistrict_translations';  (0.8ms) DELETE FROM "mgca_subdistricts";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'mgca_subdistricts';  (0.8ms) DELETE FROM "users";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:31:42.289802"], ["updated_at", "2015-11-16 10:31:42.289802"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:31:42.295238"], ["updated_at", "2015-11-16 10:31:42.295238"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:31:42.298893"], ["updated_at", "2015-11-16 10:31:42.298893"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.2ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (1.1ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:31:42.295238"], ["updated_at", "2015-11-16 10:31:42.295238"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.2ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:31:42.423109"], ["updated_at", "2015-11-16 10:31:42.423109"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:31:42.435680"], ["updated_at", "2015-11-16 10:31:42.435680"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:31:42.437386"], ["updated_at", "2015-11-16 10:31:42.437386"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:31:42.440162"], ["updated_at", "2015-11-16 10:31:42.440162"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.2ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.1ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.1ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:31:42.520571"], ["updated_at", "2015-11-16 10:31:42.520571"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tom"], ["created_at", "2015-11-16 10:31:42.536887"], ["updated_at", "2015-11-16 10:31:42.536887"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:31:42.538987"], ["updated_at", "2015-11-16 10:31:42.538987"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 1], ["created_at", "2015-11-16 10:31:42.542219"], ["updated_at", "2015-11-16 10:31:42.542219"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] ### ### geo_data is present !!! ### SQL (0.4ms) UPDATE "mgca_addresses" SET "fetch_address" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "street_default" = ?, "zipcode" = ?, "street_number" = ?, "latitude" = ?, "longitude" = ? WHERE "mgca_addresses"."id" = ? [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\naddr:\n- Heinz-Kapelle-Str. 6\n- 10407 Berlin\n- Germany\ngeo_data:\n en: !ruby/object:Geocoder::Result::Google\n data:\n address_components:\n - long_name: '6'\n short_name: '6'\n types:\n - street_number\n - long_name: Heinz-Kapelle-Straße\n short_name: Heinz-Kapelle-Straße\n types:\n - route\n - long_name: Prenzlauer Berg\n short_name: Prenzlauer Berg\n types:\n - sublocality_level_2\n - sublocality\n - political\n - long_name: Bezirk Pankow\n short_name: Bezirk Pankow\n types:\n - sublocality_level_1\n - sublocality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - locality\n - political\n - long_name: Berlin\n short_name: Berlin\n types:\n - administrative_area_level_1\n - political\n - long_name: Germany\n short_name: DE\n types:\n - country\n - political\n - long_name: '10407'\n short_name: '10407'\n types:\n - postal_code\n formatted_address: Heinz-Kapelle-Straße 6, 10407 Berlin, Germany\n geometry:\n location:\n lat: 52.53326\n lng: 13.44068\n location_type: ROOFTOP\n viewport:\n northeast:\n lat: 52.53460898029149\n lng: 13.4420289802915\n southwest:\n lat: 52.5319110197085\n lng: 13.4393310197085\n place_id: ChIJgeChgwxOqEcRIv-h7JhVE6Q\n types:\n - street_address\n cache_hit: \nfetched: true\n"], ["created_at", "2015-11-16 10:31:42.538987"], ["updated_at", "2015-11-16 10:31:42.538987"], ["id", 1], ["street_default", "Heinz-Kapelle-Straße"], ["zipcode", 10407], ["street_number", "6"], ["latitude", 52.53326], ["longitude", 13.44068], ["id", 1]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 1], ["address_id", 1], ["created_at", "2015-11-16 10:31:42.656287"], ["updated_at", "2015-11-16 10:31:42.656287"]]  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "tim"], ["created_at", "2015-11-16 10:31:42.668698"], ["updated_at", "2015-11-16 10:31:42.668698"]] SQL (0.1ms) INSERT INTO "mgca_addresses" ("fetch_address", "created_at", "updated_at") VALUES (?, ?, ?) [["fetch_address", "---\nfetch_street: Heinz-Kapelle-Str.\nfetch_number: '6'\nfetch_zipcode: '10407'\nfetch_city: Berlin\n"], ["created_at", "2015-11-16 10:31:42.670873"], ["updated_at", "2015-11-16 10:31:42.670873"]] SQL (0.1ms) INSERT INTO "mgca_address_translations" ("locale", "street_name", "mgca_address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["locale", "en"], ["street_name", "Heinz-Kapelle-Str."], ["mgca_address_id", 2], ["created_at", "2015-11-16 10:31:42.674489"], ["updated_at", "2015-11-16 10:31:42.674489"]] ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ###  (0.1ms) SELECT COUNT(*) FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 [["zipcode", 10407], ["street_number", "6"]] MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" WHERE "mgca_addresses"."zipcode" = ? AND "mgca_addresses"."street_number" = ? AND "mgca_addresses"."latitude" = 52.53326 AND "mgca_addresses"."longitude" = 13.44068 ORDER BY "mgca_addresses"."id" ASC LIMIT 1 [["zipcode", 10407], ["street_number", "6"]] ### ### found similar address .. will use that !!! ### MagicAddresses::Addressible Load (0.0ms) SELECT "mgca_addressibles".* FROM "mgca_addressibles" WHERE "mgca_addressibles"."address_id" = ? [["address_id", 2]] SQL (0.0ms) DELETE FROM "mgca_address_translations" WHERE "mgca_address_translations"."id" = ? [["id", 2]] SQL (0.1ms) DELETE FROM "mgca_addresses" WHERE "mgca_addresses"."id" = ? [["id", 2]] SQL (0.1ms) INSERT INTO "mgca_addressibles" ("owner_type", "default", "owner_id", "address_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_type", "User"], ["default", "t"], ["owner_id", 2], ["address_id", 2], ["created_at", "2015-11-16 10:31:42.749280"], ["updated_at", "2015-11-16 10:31:42.749280"]]  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SELECT COUNT(*) FROM "users"  (0.0ms) SELECT COUNT(*) FROM "mgca_addresses" MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1 MagicAddresses::Address Load (0.1ms) SELECT "mgca_addresses".* FROM "mgca_addresses" ORDER BY "mgca_addresses"."id" ASC LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.4ms) rollback transaction ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### found similar address .. will use that !!! ### ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### geo_data is present !!! ### ### ### triggered A D D R E S S - B U I L D E R ! - - Heinz-Kapelle-Str. 6 Berlin ### ### ### found similar address .. will use that !!! ###