ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.4ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 30ms (Views: 10.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.143509"], ["updated_at", "2015-02-20 16:48:14.143509"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.159143"], ["updated_at", "2015-02-20 16:48:14.159143"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.164621"], ["updated_at", "2015-02-20 16:48:14.164621"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.169646"], ["updated_at", "2015-02-20 16:48:14.169646"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.175095"], ["updated_at", "2015-02-20 16:48:14.175095"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.0ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:48:14.177523"], ["updated_at", "2015-02-20 16:48:14.177523"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (637.5ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.4ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (5.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (5.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.3ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.4ms)  SELECT version FROM "schema_migrations"
   (1.3ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.315254"], ["updated_at", "2015-02-20 16:53:42.315254"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.329259"], ["updated_at", "2015-02-20 16:53:42.329259"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.766979"], ["updated_at", "2015-02-20 16:53:42.766979"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.773555"], ["updated_at", "2015-02-20 16:53:42.773555"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.779851"], ["updated_at", "2015-02-20 16:53:42.779851"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:53:42.784943"], ["updated_at", "2015-02-20 16:53:42.784943"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 25ms (Views: 25.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.363286"], ["updated_at", "2015-02-20 16:55:20.363286"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.897722"], ["updated_at", "2015-02-20 16:55:20.897722"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.903354"], ["updated_at", "2015-02-20 16:55:20.903354"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.909125"], ["updated_at", "2015-02-20 16:55:20.909125"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.914074"], ["updated_at", "2015-02-20 16:55:20.914074"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.0ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:20.916993"], ["updated_at", "2015-02-20 16:55:20.916993"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (83.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (629.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.169651"], ["updated_at", "2015-02-20 16:55:59.169651"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.190611"], ["updated_at", "2015-02-20 16:55:59.190611"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.197194"], ["updated_at", "2015-02-20 16:55:59.197194"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.786022"], ["updated_at", "2015-02-20 16:55:59.786022"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.793342"], ["updated_at", "2015-02-20 16:55:59.793342"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:55:59.796549"], ["updated_at", "2015-02-20 16:55:59.796549"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 35ms (Views: 12.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.262428"], ["updated_at", "2015-02-20 16:56:07.262428"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.278965"], ["updated_at", "2015-02-20 16:56:07.278965"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.284634"], ["updated_at", "2015-02-20 16:56:07.284634"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.288932"], ["updated_at", "2015-02-20 16:56:07.288932"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.295896"], ["updated_at", "2015-02-20 16:56:07.295896"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:07.300758"], ["updated_at", "2015-02-20 16:56:07.300758"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.8ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 37ms (Views: 11.1ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.7ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  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)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.320785"], ["updated_at", "2015-02-20 16:56:18.320785"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.331826"], ["updated_at", "2015-02-20 16:56:18.331826"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.0ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.339772"], ["updated_at", "2015-02-20 16:56:18.339772"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (3.0ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.343125"], ["updated_at", "2015-02-20 16:56:18.343125"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.351925"], ["updated_at", "2015-02-20 16:56:18.351925"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:18.357715"], ["updated_at", "2015-02-20 16:56:18.357715"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.015587"], ["updated_at", "2015-02-20 16:56:35.015587"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.031391"], ["updated_at", "2015-02-20 16:56:35.031391"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.584145"], ["updated_at", "2015-02-20 16:56:35.584145"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.589617"], ["updated_at", "2015-02-20 16:56:35.589617"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.592695"], ["updated_at", "2015-02-20 16:56:35.592695"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:35.600444"], ["updated_at", "2015-02-20 16:56:35.600444"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.7ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 41ms (Views: 14.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 16:56:47.720792"], ["updated_at", "2015-02-20 16:56:47.720792"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.739164"], ["updated_at", "2015-02-20 16:56:47.739164"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.749480"], ["updated_at", "2015-02-20 16:56:47.749480"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.754350"], ["updated_at", "2015-02-20 16:56:47.754350"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.763777"], ["updated_at", "2015-02-20 16:56:47.763777"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.769108"], ["updated_at", "2015-02-20 16:56:47.769108"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.4ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:56:47.776631"], ["updated_at", "2015-02-20 16:56:47.776631"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.5ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 34ms (Views: 12.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 16:57:24.935952"], ["updated_at", "2015-02-20 16:57:24.935952"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.957862"], ["updated_at", "2015-02-20 16:57:24.957862"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.968389"], ["updated_at", "2015-02-20 16:57:24.968389"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.973901"], ["updated_at", "2015-02-20 16:57:24.973901"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.979550"], ["updated_at", "2015-02-20 16:57:24.979550"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.982210"], ["updated_at", "2015-02-20 16:57:24.982210"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:24.990152"], ["updated_at", "2015-02-20 16:57:24.990152"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (102.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (628.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.6ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.8ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (3.4ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 16:57:50.306561"], ["updated_at", "2015-02-20 16:57:50.306561"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.395333"], ["updated_at", "2015-02-20 16:57:50.395333"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.835804"], ["updated_at", "2015-02-20 16:57:50.835804"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.838628"], ["updated_at", "2015-02-20 16:57:50.838628"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.846073"], ["updated_at", "2015-02-20 16:57:50.846073"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.851628"], ["updated_at", "2015-02-20 16:57:50.851628"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:57:50.857182"], ["updated_at", "2015-02-20 16:57:50.857182"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (17.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (632.4ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.3ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.3ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 16:58:28.621631"], ["updated_at", "2015-02-20 16:58:28.621631"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:28.715272"], ["updated_at", "2015-02-20 16:58:28.715272"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:29.193553"], ["updated_at", "2015-02-20 16:58:29.193553"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.0ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:29.197110"], ["updated_at", "2015-02-20 16:58:29.197110"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:29.207506"], ["updated_at", "2015-02-20 16:58:29.207506"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:29.213802"], ["updated_at", "2015-02-20 16:58:29.213802"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:29.220132"], ["updated_at", "2015-02-20 16:58:29.220132"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.3ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 16:58:39.389605"], ["updated_at", "2015-02-20 16:58:39.389605"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.483905"], ["updated_at", "2015-02-20 16:58:39.483905"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.490793"], ["updated_at", "2015-02-20 16:58:39.490793"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.938583"], ["updated_at", "2015-02-20 16:58:39.938583"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.944096"], ["updated_at", "2015-02-20 16:58:39.944096"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.949544"], ["updated_at", "2015-02-20 16:58:39.949544"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 16:58:39.954805"], ["updated_at", "2015-02-20 16:58:39.954805"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.8ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 17:01:20.739609"], ["updated_at", "2015-02-20 17:01:20.739609"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 77ms (Views: 9.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.313318"], ["updated_at", "2015-02-20 17:01:21.313318"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.326265"], ["updated_at", "2015-02-20 17:01:21.326265"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.329616"], ["updated_at", "2015-02-20 17:01:21.329616"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.336850"], ["updated_at", "2015-02-20 17:01:21.336850"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.342315"], ["updated_at", "2015-02-20 17:01:21.342315"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:21.347815"], ["updated_at", "2015-02-20 17:01:21.347815"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 41ms (Views: 14.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["encrypted_password", "asdf"], ["created_at", "2015-02-20 17:01:41.439005"], ["updated_at", "2015-02-20 17:01:41.439005"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.464646"], ["updated_at", "2015-02-20 17:01:41.464646"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.480186"], ["updated_at", "2015-02-20 17:01:41.480186"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.484889"], ["updated_at", "2015-02-20 17:01:41.484889"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.493622"], ["updated_at", "2015-02-20 17:01:41.493622"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.500125"], ["updated_at", "2015-02-20 17:01:41.500125"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:01:41.505010"], ["updated_at", "2015-02-20 17:01:41.505010"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 34ms (Views: 12.3ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  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)  SAVEPOINT active_record_1
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.234118"], ["updated_at", "2015-02-20 17:02:31.234118"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.243620"], ["updated_at", "2015-02-20 17:02:31.243620"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.252506"], ["updated_at", "2015-02-20 17:02:31.252506"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.259326"], ["updated_at", "2015-02-20 17:02:31.259326"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.266186"], ["updated_at", "2015-02-20 17:02:31.266186"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:02:31.273359"], ["updated_at", "2015-02-20 17:02:31.273359"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.8ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 81ms (Views: 12.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.310430"], ["updated_at", "2015-02-20 17:03:42.310430"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.320568"], ["updated_at", "2015-02-20 17:03:42.320568"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.329013"], ["updated_at", "2015-02-20 17:03:42.329013"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.334066"], ["updated_at", "2015-02-20 17:03:42.334066"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.338973"], ["updated_at", "2015-02-20 17:03:42.338973"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:42.343938"], ["updated_at", "2015-02-20 17:03:42.343938"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.4ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:50.740921"], ["updated_at", "2015-02-20 17:03:50.740921"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:50.753397"], ["updated_at", "2015-02-20 17:03:50.753397"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:51.224416"], ["updated_at", "2015-02-20 17:03:51.224416"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:51.229600"], ["updated_at", "2015-02-20 17:03:51.229600"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:51.237537"], ["updated_at", "2015-02-20 17:03:51.237537"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:51.242799"], ["updated_at", "2015-02-20 17:03:51.242799"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (611.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:03:59.741572"], ["updated_at", "2015-02-20 17:03:59.741572"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:00.260470"], ["updated_at", "2015-02-20 17:04:00.260470"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:00.267706"], ["updated_at", "2015-02-20 17:04:00.267706"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:00.273212"], ["updated_at", "2015-02-20 17:04:00.273212"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:00.276090"], ["updated_at", "2015-02-20 17:04:00.276090"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:00.283782"], ["updated_at", "2015-02-20 17:04:00.283782"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (4.0ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 33ms (Views: 10.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.190938"], ["updated_at", "2015-02-20 17:04:28.190938"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.205255"], ["updated_at", "2015-02-20 17:04:28.205255"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.210832"], ["updated_at", "2015-02-20 17:04:28.210832"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.217541"], ["updated_at", "2015-02-20 17:04:28.217541"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.0ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.220427"], ["updated_at", "2015-02-20 17:04:28.220427"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:28.226783"], ["updated_at", "2015-02-20 17:04:28.226783"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.6ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (4.5ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 35ms (Views: 12.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.279193"], ["updated_at", "2015-02-20 17:04:40.279193"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.299372"], ["updated_at", "2015-02-20 17:04:40.299372"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.310926"], ["updated_at", "2015-02-20 17:04:40.310926"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.315353"], ["updated_at", "2015-02-20 17:04:40.315353"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.322503"], ["updated_at", "2015-02-20 17:04:40.322503"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:04:40.333766"], ["updated_at", "2015-02-20 17:04:40.333766"]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.5ms)  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"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 34ms (Views: 11.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.383480"], ["updated_at", "2015-02-20 17:09:47.383480"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.396028"], ["updated_at", "2015-02-20 17:09:47.396028"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.402416"], ["updated_at", "2015-02-20 17:09:47.402416"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.407845"], ["updated_at", "2015-02-20 17:09:47.407845"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.410532"], ["updated_at", "2015-02-20 17:09:47.410532"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:09:47.416929"], ["updated_at", "2015-02-20 17:09:47.416929"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (368.7ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.061948"], ["updated_at", "2015-02-20 17:10:09.061948"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.556729"], ["updated_at", "2015-02-20 17:10:09.556729"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.561539"], ["updated_at", "2015-02-20 17:10:09.561539"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.566772"], ["updated_at", "2015-02-20 17:10:09.566772"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.572180"], ["updated_at", "2015-02-20 17:10:09.572180"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:10:09.575707"], ["updated_at", "2015-02-20 17:10:09.575707"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 33ms (Views: 11.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.207031"], ["updated_at", "2015-02-20 17:11:43.207031"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.222713"], ["updated_at", "2015-02-20 17:11:43.222713"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.228498"], ["updated_at", "2015-02-20 17:11:43.228498"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.234944"], ["updated_at", "2015-02-20 17:11:43.234944"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.237536"], ["updated_at", "2015-02-20 17:11:43.237536"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "shipping"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:11:43.244162"], ["updated_at", "2015-02-20 17:11:43.244162"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.3ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 29ms (Views: 10.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.945788"], ["updated_at", "2015-02-20 17:13:13.945788"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.957667"], ["updated_at", "2015-02-20 17:13:13.957667"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.961225"], ["updated_at", "2015-02-20 17:13:13.961225"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.967376"], ["updated_at", "2015-02-20 17:13:13.967376"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.973873"], ["updated_at", "2015-02-20 17:13:13.973873"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:13.980964"], ["updated_at", "2015-02-20 17:13:13.980964"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (345.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.6ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.4ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.4ms)  SELECT version FROM "schema_migrations"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 28ms (Views: 8.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.904597"], ["updated_at", "2015-02-20 17:13:53.904597"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.926089"], ["updated_at", "2015-02-20 17:13:53.926089"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.933534"], ["updated_at", "2015-02-20 17:13:53.933534"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.940244"], ["updated_at", "2015-02-20 17:13:53.940244"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.945977"], ["updated_at", "2015-02-20 17:13:53.945977"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.951040"], ["updated_at", "2015-02-20 17:13:53.951040"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:13:53.954350"], ["updated_at", "2015-02-20 17:13:53.954350"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (632.5ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:14.691661"], ["updated_at", "2015-02-20 17:14:14.691661"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:14.710370"], ["updated_at", "2015-02-20 17:14:14.710370"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:15.217054"], ["updated_at", "2015-02-20 17:14:15.217054"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:15.219699"], ["updated_at", "2015-02-20 17:14:15.219699"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:15.226453"], ["updated_at", "2015-02-20 17:14:15.226453"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:15.231154"], ["updated_at", "2015-02-20 17:14:15.231154"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:14:15.280579"], ["updated_at", "2015-02-20 17:14:15.280579"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (2.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.3ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.4ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.4ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 29ms (Views: 9.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.264189"], ["updated_at", "2015-02-20 17:21:10.264189"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.278408"], ["updated_at", "2015-02-20 17:21:10.278408"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.281972"], ["updated_at", "2015-02-20 17:21:10.281972"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.288706"], ["updated_at", "2015-02-20 17:21:10.288706"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.293748"], ["updated_at", "2015-02-20 17:21:10.293748"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:10.298482"], ["updated_at", "2015-02-20 17:21:10.298482"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:53.948731"], ["updated_at", "2015-02-20 17:21:53.948731"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:53.964775"], ["updated_at", "2015-02-20 17:21:53.964775"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:54.422589"], ["updated_at", "2015-02-20 17:21:54.422589"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:54.427533"], ["updated_at", "2015-02-20 17:21:54.427533"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:54.432198"], ["updated_at", "2015-02-20 17:21:54.432198"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:54.434692"], ["updated_at", "2015-02-20 17:21:54.434692"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:21:54.542548"], ["updated_at", "2015-02-20 17:21:54.542548"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.354260"], ["updated_at", "2015-02-20 17:22:11.354260"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.423486"], ["updated_at", "2015-02-20 17:22:11.423486"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.430666"], ["updated_at", "2015-02-20 17:22:11.430666"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.437551"], ["updated_at", "2015-02-20 17:22:11.437551"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.445274"], ["updated_at", "2015-02-20 17:22:11.445274"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.448934"], ["updated_at", "2015-02-20 17:22:11.448934"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:11.457269"], ["updated_at", "2015-02-20 17:22:11.457269"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 33ms (Views: 8.4ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.733723"], ["updated_at", "2015-02-20 17:22:36.733723"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.750415"], ["updated_at", "2015-02-20 17:22:36.750415"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.753645"], ["updated_at", "2015-02-20 17:22:36.753645"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.760797"], ["updated_at", "2015-02-20 17:22:36.760797"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.766119"], ["updated_at", "2015-02-20 17:22:36.766119"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.771228"], ["updated_at", "2015-02-20 17:22:36.771228"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:22:36.826749"], ["updated_at", "2015-02-20 17:22:36.826749"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.275600"], ["updated_at", "2015-02-20 17:23:25.275600"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.293807"], ["updated_at", "2015-02-20 17:23:25.293807"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.299322"], ["updated_at", "2015-02-20 17:23:25.299322"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.302122"], ["updated_at", "2015-02-20 17:23:25.302122"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.309141"], ["updated_at", "2015-02-20 17:23:25.309141"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.314705"], ["updated_at", "2015-02-20 17:23:25.314705"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:23:25.319997"], ["updated_at", "2015-02-20 17:23:25.319997"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:18.674305"], ["updated_at", "2015-02-20 17:24:18.674305"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.162175"], ["updated_at", "2015-02-20 17:24:19.162175"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.164909"], ["updated_at", "2015-02-20 17:24:19.164909"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.172554"], ["updated_at", "2015-02-20 17:24:19.172554"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.179147"], ["updated_at", "2015-02-20 17:24:19.179147"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.184236"], ["updated_at", "2015-02-20 17:24:19.184236"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:24:19.287755"], ["updated_at", "2015-02-20 17:24:19.287755"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 33ms (Views: 10.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.121439"], ["updated_at", "2015-02-20 17:25:06.121439"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.137273"], ["updated_at", "2015-02-20 17:25:06.137273"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.143673"], ["updated_at", "2015-02-20 17:25:06.143673"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.150081"], ["updated_at", "2015-02-20 17:25:06.150081"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.153467"], ["updated_at", "2015-02-20 17:25:06.153467"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.161150"], ["updated_at", "2015-02-20 17:25:06.161150"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:06.215089"], ["updated_at", "2015-02-20 17:25:06.215089"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.7ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.009103"], ["updated_at", "2015-02-20 17:25:13.009103"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.029138"], ["updated_at", "2015-02-20 17:25:13.029138"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.036136"], ["updated_at", "2015-02-20 17:25:13.036136"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.042193"], ["updated_at", "2015-02-20 17:25:13.042193"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.045120"], ["updated_at", "2015-02-20 17:25:13.045120"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.053279"], ["updated_at", "2015-02-20 17:25:13.053279"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:25:13.059764"], ["updated_at", "2015-02-20 17:25:13.059764"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:07.945160"], ["updated_at", "2015-02-20 17:26:07.945160"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.019622"], ["updated_at", "2015-02-20 17:26:08.019622"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.026123"], ["updated_at", "2015-02-20 17:26:08.026123"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.028564"], ["updated_at", "2015-02-20 17:26:08.028564"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.035801"], ["updated_at", "2015-02-20 17:26:08.035801"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.041445"], ["updated_at", "2015-02-20 17:26:08.041445"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:08.047277"], ["updated_at", "2015-02-20 17:26:08.047277"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (634.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 31ms (Views: 8.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:28.983209"], ["updated_at", "2015-02-20 17:26:28.983209"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:28.997786"], ["updated_at", "2015-02-20 17:26:28.997786"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:29.003801"], ["updated_at", "2015-02-20 17:26:29.003801"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:29.006358"], ["updated_at", "2015-02-20 17:26:29.006358"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:29.013310"], ["updated_at", "2015-02-20 17:26:29.013310"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:29.018043"], ["updated_at", "2015-02-20 17:26:29.018043"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:26:29.023299"], ["updated_at", "2015-02-20 17:26:29.023299"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (634.7ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 34ms (Views: 10.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.664525"], ["updated_at", "2015-02-20 17:27:00.664525"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.679374"], ["updated_at", "2015-02-20 17:27:00.679374"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.684607"], ["updated_at", "2015-02-20 17:27:00.684607"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.689737"], ["updated_at", "2015-02-20 17:27:00.689737"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.692701"], ["updated_at", "2015-02-20 17:27:00.692701"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.698985"], ["updated_at", "2015-02-20 17:27:00.698985"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:00.703698"], ["updated_at", "2015-02-20 17:27:00.703698"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.672173"], ["updated_at", "2015-02-20 17:27:40.672173"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.688655"], ["updated_at", "2015-02-20 17:27:40.688655"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.694434"], ["updated_at", "2015-02-20 17:27:40.694434"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.697225"], ["updated_at", "2015-02-20 17:27:40.697225"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.705568"], ["updated_at", "2015-02-20 17:27:40.705568"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.712054"], ["updated_at", "2015-02-20 17:27:40.712054"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:27:40.718524"], ["updated_at", "2015-02-20 17:27:40.718524"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 13ms (Views: 13.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 34ms (Views: 11.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.256465"], ["updated_at", "2015-02-20 17:28:47.256465"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.269456"], ["updated_at", "2015-02-20 17:28:47.269456"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.273927"], ["updated_at", "2015-02-20 17:28:47.273927"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.281140"], ["updated_at", "2015-02-20 17:28:47.281140"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.286480"], ["updated_at", "2015-02-20 17:28:47.286480"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.291789"], ["updated_at", "2015-02-20 17:28:47.291789"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:28:47.346159"], ["updated_at", "2015-02-20 17:28:47.346159"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.4ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 28ms (Views: 9.3ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.729516"], ["updated_at", "2015-02-20 17:29:06.729516"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.747791"], ["updated_at", "2015-02-20 17:29:06.747791"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.752988"], ["updated_at", "2015-02-20 17:29:06.752988"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.758216"], ["updated_at", "2015-02-20 17:29:06.758216"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.760821"], ["updated_at", "2015-02-20 17:29:06.760821"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.767424"], ["updated_at", "2015-02-20 17:29:06.767424"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:06.772948"], ["updated_at", "2015-02-20 17:29:06.772948"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (98.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (636.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.7ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 34ms (Views: 12.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.593633"], ["updated_at", "2015-02-20 17:29:25.593633"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.608394"], ["updated_at", "2015-02-20 17:29:25.608394"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.614585"], ["updated_at", "2015-02-20 17:29:25.614585"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.619618"], ["updated_at", "2015-02-20 17:29:25.619618"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.625624"], ["updated_at", "2015-02-20 17:29:25.625624"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.628560"], ["updated_at", "2015-02-20 17:29:25.628560"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.687277"], ["updated_at", "2015-02-20 17:29:25.687277"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:25.716374"], ["updated_at", "2015-02-20 17:29:25.716374"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  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"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 32ms (Views: 11.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:29:59.979679"], ["updated_at", "2015-02-20 17:29:59.979679"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.014103"], ["updated_at", "2015-02-20 17:30:00.014103"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.021745"], ["updated_at", "2015-02-20 17:30:00.021745"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.033894"], ["updated_at", "2015-02-20 17:30:00.033894"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.039636"], ["updated_at", "2015-02-20 17:30:00.039636"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.045019"], ["updated_at", "2015-02-20 17:30:00.045019"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.051243"], ["updated_at", "2015-02-20 17:30:00.051243"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.054134"], ["updated_at", "2015-02-20 17:30:00.054134"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:30:00.059605"], ["updated_at", "2015-02-20 17:30:00.059605"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.4ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.527340"], ["updated_at", "2015-02-20 17:31:03.527340"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.563008"], ["updated_at", "2015-02-20 17:31:03.563008"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (2.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.573767"], ["updated_at", "2015-02-20 17:31:03.573767"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.587075"], ["updated_at", "2015-02-20 17:31:03.587075"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.591151"], ["updated_at", "2015-02-20 17:31:03.591151"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.597129"], ["updated_at", "2015-02-20 17:31:03.597129"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.602165"], ["updated_at", "2015-02-20 17:31:03.602165"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.607053"], ["updated_at", "2015-02-20 17:31:03.607053"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:03.613035"], ["updated_at", "2015-02-20 17:31:03.613035"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.112868"], ["updated_at", "2015-02-20 17:31:37.112868"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.150543"], ["updated_at", "2015-02-20 17:31:37.150543"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.157891"], ["updated_at", "2015-02-20 17:31:37.157891"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.197879"], ["updated_at", "2015-02-20 17:31:37.197879"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.205428"], ["updated_at", "2015-02-20 17:31:37.205428"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.214964"], ["updated_at", "2015-02-20 17:31:37.214964"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.217641"], ["updated_at", "2015-02-20 17:31:37.217641"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.225553"], ["updated_at", "2015-02-20 17:31:37.225553"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.231465"], ["updated_at", "2015-02-20 17:31:37.231465"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.240156"], ["updated_at", "2015-02-20 17:31:37.240156"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:31:37.249150"], ["updated_at", "2015-02-20 17:31:37.249150"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (636.5ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.570144"], ["updated_at", "2015-02-20 17:40:31.570144"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.601777"], ["updated_at", "2015-02-20 17:40:31.601777"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.610546"], ["updated_at", "2015-02-20 17:40:31.610546"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.641433"], ["updated_at", "2015-02-20 17:40:31.641433"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.647999"], ["updated_at", "2015-02-20 17:40:31.647999"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.714309"], ["updated_at", "2015-02-20 17:40:31.714309"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.721002"], ["updated_at", "2015-02-20 17:40:31.721002"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.726182"], ["updated_at", "2015-02-20 17:40:31.726182"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.3ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.734321"], ["updated_at", "2015-02-20 17:40:31.734321"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.741256"], ["updated_at", "2015-02-20 17:40:31.741256"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:40:31.744414"], ["updated_at", "2015-02-20 17:40:31.744414"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.6ms)  select sqlite_version(*)
   (618.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.5ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.257326"], ["updated_at", "2015-02-20 17:41:17.257326"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.319629"], ["updated_at", "2015-02-20 17:41:17.319629"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.773602"], ["updated_at", "2015-02-20 17:41:17.773602"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.779959"], ["updated_at", "2015-02-20 17:41:17.779959"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.782715"], ["updated_at", "2015-02-20 17:41:17.782715"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.789028"], ["updated_at", "2015-02-20 17:41:17.789028"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.836789"], ["updated_at", "2015-02-20 17:41:17.836789"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.844092"], ["updated_at", "2015-02-20 17:41:17.844092"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.892119"], ["updated_at", "2015-02-20 17:41:17.892119"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:17.897621"], ["updated_at", "2015-02-20 17:41:17.897621"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (98.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (636.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.5ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.5ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.3ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 35ms (Views: 12.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.853708"], ["updated_at", "2015-02-20 17:41:47.853708"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.878100"], ["updated_at", "2015-02-20 17:41:47.878100"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.910925"], ["updated_at", "2015-02-20 17:41:47.910925"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.938221"], ["updated_at", "2015-02-20 17:41:47.938221"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.946167"], ["updated_at", "2015-02-20 17:41:47.946167"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.958048"], ["updated_at", "2015-02-20 17:41:47.958048"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.961033"], ["updated_at", "2015-02-20 17:41:47.961033"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.967330"], ["updated_at", "2015-02-20 17:41:47.967330"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.972589"], ["updated_at", "2015-02-20 17:41:47.972589"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.979728"], ["updated_at", "2015-02-20 17:41:47.979728"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:41:47.986013"], ["updated_at", "2015-02-20 17:41:47.986013"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (1.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.665848"], ["updated_at", "2015-02-20 17:42:49.665848"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.700041"], ["updated_at", "2015-02-20 17:42:49.700041"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.709772"], ["updated_at", "2015-02-20 17:42:49.709772"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.743371"], ["updated_at", "2015-02-20 17:42:49.743371"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.749625"], ["updated_at", "2015-02-20 17:42:49.749625"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.819579"], ["updated_at", "2015-02-20 17:42:49.819579"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.827731"], ["updated_at", "2015-02-20 17:42:49.827731"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.836622"], ["updated_at", "2015-02-20 17:42:49.836622"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.841556"], ["updated_at", "2015-02-20 17:42:49.841556"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.849557"], ["updated_at", "2015-02-20 17:42:49.849557"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:49.854881"], ["updated_at", "2015-02-20 17:42:49.854881"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (634.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.1ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.179772"], ["updated_at", "2015-02-20 17:42:58.179772"]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.218451"], ["updated_at", "2015-02-20 17:42:58.218451"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.228668"], ["updated_at", "2015-02-20 17:42:58.228668"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.268188"], ["updated_at", "2015-02-20 17:42:58.268188"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.277352"], ["updated_at", "2015-02-20 17:42:58.277352"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.289765"], ["updated_at", "2015-02-20 17:42:58.289765"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.297274"], ["updated_at", "2015-02-20 17:42:58.297274"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.305442"], ["updated_at", "2015-02-20 17:42:58.305442"]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.309089"], ["updated_at", "2015-02-20 17:42:58.309089"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.314830"], ["updated_at", "2015-02-20 17:42:58.314830"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:42:58.322008"], ["updated_at", "2015-02-20 17:42:58.322008"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.246359"], ["updated_at", "2015-02-20 17:43:05.246359"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.286997"], ["updated_at", "2015-02-20 17:43:05.286997"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.297147"], ["updated_at", "2015-02-20 17:43:05.297147"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.329427"], ["updated_at", "2015-02-20 17:43:05.329427"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.335397"], ["updated_at", "2015-02-20 17:43:05.335397"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.347098"], ["updated_at", "2015-02-20 17:43:05.347098"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.350042"], ["updated_at", "2015-02-20 17:43:05.350042"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.357202"], ["updated_at", "2015-02-20 17:43:05.357202"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.363156"], ["updated_at", "2015-02-20 17:43:05.363156"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.369109"], ["updated_at", "2015-02-20 17:43:05.369109"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:05.375346"], ["updated_at", "2015-02-20 17:43:05.375346"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (101.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (635.4ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.2ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.0ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.093545"], ["updated_at", "2015-02-20 17:43:25.093545"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.127354"], ["updated_at", "2015-02-20 17:43:25.127354"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.132835"], ["updated_at", "2015-02-20 17:43:25.132835"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.164965"], ["updated_at", "2015-02-20 17:43:25.164965"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.172591"], ["updated_at", "2015-02-20 17:43:25.172591"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.182088"], ["updated_at", "2015-02-20 17:43:25.182088"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.184620"], ["updated_at", "2015-02-20 17:43:25.184620"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.192087"], ["updated_at", "2015-02-20 17:43:25.192087"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.198453"], ["updated_at", "2015-02-20 17:43:25.198453"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.205721"], ["updated_at", "2015-02-20 17:43:25.205721"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:25.211437"], ["updated_at", "2015-02-20 17:43:25.211437"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (628.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.4ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  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.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 34ms (Views: 12.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.404228"], ["updated_at", "2015-02-20 17:43:45.404228"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.444339"], ["updated_at", "2015-02-20 17:43:45.444339"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.453748"], ["updated_at", "2015-02-20 17:43:45.453748"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.2ms)  begin transaction
   (1.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.503964"], ["updated_at", "2015-02-20 17:43:45.503964"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.513435"], ["updated_at", "2015-02-20 17:43:45.513435"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:43:45.526497"], ["updated_at", "2015-02-20 17:43:45.526497"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:43:45.530147"], ["updated_at", "2015-02-20 17:43:45.530147"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.6ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:43:45.537652' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.552705"], ["updated_at", "2015-02-20 17:43:45.552705"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.559798"], ["updated_at", "2015-02-20 17:43:45.559798"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.564868"], ["updated_at", "2015-02-20 17:43:45.564868"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.571685"], ["updated_at", "2015-02-20 17:43:45.571685"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.578606"], ["updated_at", "2015-02-20 17:43:45.578606"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:43:45.583583"], ["updated_at", "2015-02-20 17:43:45.583583"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 17:44:14.289380"], ["updated_at", "2015-02-20 17:44:14.289380"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:44:14.295076"], ["updated_at", "2015-02-20 17:44:14.295076"]]
  User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:44:14.306665' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.339943"], ["updated_at", "2015-02-20 17:44:14.339943"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.348381"], ["updated_at", "2015-02-20 17:44:14.348381"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.824047"], ["updated_at", "2015-02-20 17:44:14.824047"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.852155"], ["updated_at", "2015-02-20 17:44:14.852155"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.860749"], ["updated_at", "2015-02-20 17:44:14.860749"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.924699"], ["updated_at", "2015-02-20 17:44:14.924699"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.931191"], ["updated_at", "2015-02-20 17:44:14.931191"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.934697"], ["updated_at", "2015-02-20 17:44:14.934697"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.943080"], ["updated_at", "2015-02-20 17:44:14.943080"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.949177"], ["updated_at", "2015-02-20 17:44:14.949177"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:14.955841"], ["updated_at", "2015-02-20 17:44:14.955841"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 17:44:24.798838"], ["updated_at", "2015-02-20 17:44:24.798838"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:44:24.806607"], ["updated_at", "2015-02-20 17:44:24.806607"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:44:24.816153' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:24.851088"], ["updated_at", "2015-02-20 17:44:24.851088"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:24.859805"], ["updated_at", "2015-02-20 17:44:24.859805"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.400136"], ["updated_at", "2015-02-20 17:44:25.400136"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.430007"], ["updated_at", "2015-02-20 17:44:25.430007"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.439727"], ["updated_at", "2015-02-20 17:44:25.439727"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.461043"], ["updated_at", "2015-02-20 17:44:25.461043"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.468596"], ["updated_at", "2015-02-20 17:44:25.468596"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.476290"], ["updated_at", "2015-02-20 17:44:25.476290"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.479663"], ["updated_at", "2015-02-20 17:44:25.479663"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.486736"], ["updated_at", "2015-02-20 17:44:25.486736"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:44:25.491963"], ["updated_at", "2015-02-20 17:44:25.491963"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (18.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 17:45:50.616471"], ["updated_at", "2015-02-20 17:45:50.616471"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:45:50.621754"], ["updated_at", "2015-02-20 17:45:50.621754"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:45:50.632878' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:45:50.643509"], ["updated_at", "2015-02-20 17:45:50.643509"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:45:50.646749' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:45:50.661325"], ["updated_at", "2015-02-20 17:45:50.661325"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:45:50.663524"], ["updated_at", "2015-02-20 17:45:50.663524"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:45:50.665501' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.142893"], ["updated_at", "2015-02-20 17:45:51.142893"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.166763"], ["updated_at", "2015-02-20 17:45:51.166763"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.175246"], ["updated_at", "2015-02-20 17:45:51.175246"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.203670"], ["updated_at", "2015-02-20 17:45:51.203670"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.211672"], ["updated_at", "2015-02-20 17:45:51.211672"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.276399"], ["updated_at", "2015-02-20 17:45:51.276399"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.281346"], ["updated_at", "2015-02-20 17:45:51.281346"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.283776"], ["updated_at", "2015-02-20 17:45:51.283776"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.291783"], ["updated_at", "2015-02-20 17:45:51.291783"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.298758"], ["updated_at", "2015-02-20 17:45:51.298758"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:45:51.304222"], ["updated_at", "2015-02-20 17:45:51.304222"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 17:47:34.511099"], ["updated_at", "2015-02-20 17:47:34.511099"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:34.515894"], ["updated_at", "2015-02-20 17:47:34.515894"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:34.525051' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:34.535230"], ["updated_at", "2015-02-20 17:47:34.535230"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:34.538397' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:47:34.557102"], ["updated_at", "2015-02-20 17:47:34.557102"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:34.559419"], ["updated_at", "2015-02-20 17:47:34.559419"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:34.561574' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 17:47:34.569943"], ["updated_at", "2015-02-20 17:47:34.569943"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:34.571870"], ["updated_at", "2015-02-20 17:47:34.571870"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:34.574003' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:34.604095"], ["updated_at", "2015-02-20 17:47:34.604095"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:34.612361"], ["updated_at", "2015-02-20 17:47:34.612361"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.095470"], ["updated_at", "2015-02-20 17:47:35.095470"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.123316"], ["updated_at", "2015-02-20 17:47:35.123316"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.131397"], ["updated_at", "2015-02-20 17:47:35.131397"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.192906"], ["updated_at", "2015-02-20 17:47:35.192906"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.196101"], ["updated_at", "2015-02-20 17:47:35.196101"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.201826"], ["updated_at", "2015-02-20 17:47:35.201826"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.208397"], ["updated_at", "2015-02-20 17:47:35.208397"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.215067"], ["updated_at", "2015-02-20 17:47:35.215067"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:35.222146"], ["updated_at", "2015-02-20 17:47:35.222146"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.126136"], ["updated_at", "2015-02-20 17:47:56.126136"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.178645"], ["updated_at", "2015-02-20 17:47:56.178645"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.184459"], ["updated_at", "2015-02-20 17:47:56.184459"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.220054"], ["updated_at", "2015-02-20 17:47:56.220054"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.226243"], ["updated_at", "2015-02-20 17:47:56.226243"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:47:56.237398"], ["updated_at", "2015-02-20 17:47:56.237398"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:56.240009"], ["updated_at", "2015-02-20 17:47:56.240009"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:56.246667' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:56.257847"], ["updated_at", "2015-02-20 17:47:56.257847"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:56.260107' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 17:47:56.274500"], ["updated_at", "2015-02-20 17:47:56.274500"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:56.276511"], ["updated_at", "2015-02-20 17:47:56.276511"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:56.278368' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 17:47:56.286502"], ["updated_at", "2015-02-20 17:47:56.286502"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:47:56.288719"], ["updated_at", "2015-02-20 17:47:56.288719"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:47:56.290735' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 10ms (Views: 10.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.359362"], ["updated_at", "2015-02-20 17:47:56.359362"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.365134"], ["updated_at", "2015-02-20 17:47:56.365134"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.367959"], ["updated_at", "2015-02-20 17:47:56.367959"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.375357"], ["updated_at", "2015-02-20 17:47:56.375357"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.382007"], ["updated_at", "2015-02-20 17:47:56.382007"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:47:56.387604"], ["updated_at", "2015-02-20 17:47:56.387604"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.6ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.4ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (1.2ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 17:48:17.267260"], ["updated_at", "2015-02-20 17:48:17.267260"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:48:17.273246"], ["updated_at", "2015-02-20 17:48:17.273246"]]
  User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:48:17.282742' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:48:17.292963"], ["updated_at", "2015-02-20 17:48:17.292963"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:48:17.296327' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:48:17.315931"], ["updated_at", "2015-02-20 17:48:17.315931"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:48:17.319309"], ["updated_at", "2015-02-20 17:48:17.319309"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:48:17.322222' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 17:48:17.336278"], ["updated_at", "2015-02-20 17:48:17.336278"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:48:17.338350"], ["updated_at", "2015-02-20 17:48:17.338350"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:48:17.341993' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.825259"], ["updated_at", "2015-02-20 17:48:17.825259"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.853509"], ["updated_at", "2015-02-20 17:48:17.853509"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.860810"], ["updated_at", "2015-02-20 17:48:17.860810"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.891505"], ["updated_at", "2015-02-20 17:48:17.891505"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.899428"], ["updated_at", "2015-02-20 17:48:17.899428"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.915217"], ["updated_at", "2015-02-20 17:48:17.915217"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.918303"], ["updated_at", "2015-02-20 17:48:17.918303"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.925604"], ["updated_at", "2015-02-20 17:48:17.925604"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.931357"], ["updated_at", "2015-02-20 17:48:17.931357"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.936473"], ["updated_at", "2015-02-20 17:48:17.936473"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:48:17.945216"], ["updated_at", "2015-02-20 17:48:17.945216"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.250332"], ["updated_at", "2015-02-20 17:59:31.250332"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.741170"], ["updated_at", "2015-02-20 17:59:31.741170"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.746545"], ["updated_at", "2015-02-20 17:59:31.746545"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.753590"], ["updated_at", "2015-02-20 17:59:31.753590"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.758841"], ["updated_at", "2015-02-20 17:59:31.758841"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.761399"], ["updated_at", "2015-02-20 17:59:31.761399"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.866229"], ["updated_at", "2015-02-20 17:59:31.866229"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.872489"], ["updated_at", "2015-02-20 17:59:31.872489"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.906709"], ["updated_at", "2015-02-20 17:59:31.906709"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.913849"], ["updated_at", "2015-02-20 17:59:31.913849"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 17:59:31.964261"], ["updated_at", "2015-02-20 17:59:31.964261"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 17:59:31.974514"], ["updated_at", "2015-02-20 17:59:31.974514"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:59:31.977177"], ["updated_at", "2015-02-20 17:59:31.977177"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:59:31.982833' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 17:59:32.001598"], ["updated_at", "2015-02-20 17:59:32.001598"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:59:32.003632"], ["updated_at", "2015-02-20 17:59:32.003632"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:59:32.005696' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 17:59:32.014196"], ["updated_at", "2015-02-20 17:59:32.014196"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:59:32.016970"], ["updated_at", "2015-02-20 17:59:32.016970"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:59:32.020760' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 17:59:32.031641"], ["updated_at", "2015-02-20 17:59:32.031641"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.4ms)  UPDATE "users" SET "updated_at" = '2015-02-20 17:59:32.039271' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 37ms (Views: 12.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.784121"], ["updated_at", "2015-02-20 18:00:51.784121"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.798310"], ["updated_at", "2015-02-20 18:00:51.798310"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.805797"], ["updated_at", "2015-02-20 18:00:51.805797"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.812120"], ["updated_at", "2015-02-20 18:00:51.812120"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.815038"], ["updated_at", "2015-02-20 18:00:51.815038"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.821758"], ["updated_at", "2015-02-20 18:00:51.821758"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.893044"], ["updated_at", "2015-02-20 18:00:51.893044"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.918250"], ["updated_at", "2015-02-20 18:00:51.918250"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:00:51.945360"], ["updated_at", "2015-02-20 18:00:51.945360"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:00:51.952980"], ["updated_at", "2015-02-20 18:00:51.952980"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:00:51.955382"], ["updated_at", "2015-02-20 18:00:51.955382"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:00:51.961825' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:00:51.976112"], ["updated_at", "2015-02-20 18:00:51.976112"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:00:51.978516"], ["updated_at", "2015-02-20 18:00:51.978516"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:00:51.981033' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:00:51.993485"], ["updated_at", "2015-02-20 18:00:51.993485"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:00:51.995873"], ["updated_at", "2015-02-20 18:00:51.995873"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:00:51.998337' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:00:52.003662"], ["updated_at", "2015-02-20 18:00:52.003662"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:00:52.006266' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.9ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (98.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (631.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.3ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:01.691542"], ["updated_at", "2015-02-20 18:01:01.691542"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:01.748299"], ["updated_at", "2015-02-20 18:01:01.748299"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:01.751025"], ["updated_at", "2015-02-20 18:01:01.751025"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.175354"], ["updated_at", "2015-02-20 18:01:02.175354"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.179716"], ["updated_at", "2015-02-20 18:01:02.179716"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.187021"], ["updated_at", "2015-02-20 18:01:02.187021"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.237933"], ["updated_at", "2015-02-20 18:01:02.237933"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.262126"], ["updated_at", "2015-02-20 18:01:02.262126"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:02.304140"], ["updated_at", "2015-02-20 18:01:02.304140"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:01:02.312088"], ["updated_at", "2015-02-20 18:01:02.312088"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:02.314348"], ["updated_at", "2015-02-20 18:01:02.314348"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:02.321924' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:01:02.339633"], ["updated_at", "2015-02-20 18:01:02.339633"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:02.342210"], ["updated_at", "2015-02-20 18:01:02.342210"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:02.345069' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:02.350288"], ["updated_at", "2015-02-20 18:01:02.350288"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:02.352562' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:01:02.364228"], ["updated_at", "2015-02-20 18:01:02.364228"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:02.366184"], ["updated_at", "2015-02-20 18:01:02.366184"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:02.368247' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (98.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.4ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:14.631333"], ["updated_at", "2015-02-20 18:01:14.631333"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:14.686008"], ["updated_at", "2015-02-20 18:01:14.686008"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.145096"], ["updated_at", "2015-02-20 18:01:15.145096"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.155749"], ["updated_at", "2015-02-20 18:01:15.155749"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.161081"], ["updated_at", "2015-02-20 18:01:15.161081"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.166218"], ["updated_at", "2015-02-20 18:01:15.166218"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:01:15.217289"], ["updated_at", "2015-02-20 18:01:15.217289"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:15.219466"], ["updated_at", "2015-02-20 18:01:15.219466"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:15.224729' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:01:15.240253"], ["updated_at", "2015-02-20 18:01:15.240253"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:15.242108"], ["updated_at", "2015-02-20 18:01:15.242108"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:15.246123' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:15.251051"], ["updated_at", "2015-02-20 18:01:15.251051"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:15.253154' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:01:15.268789"], ["updated_at", "2015-02-20 18:01:15.268789"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:01:15.271191"], ["updated_at", "2015-02-20 18:01:15.271191"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:01:15.273463' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.297775"], ["updated_at", "2015-02-20 18:01:15.297775"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.323511"], ["updated_at", "2015-02-20 18:01:15.323511"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.331170"], ["updated_at", "2015-02-20 18:01:15.331170"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.357032"], ["updated_at", "2015-02-20 18:01:15.357032"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:01:15.363930"], ["updated_at", "2015-02-20 18:01:15.363930"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (632.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:07:48.077858"], ["updated_at", "2015-02-20 18:07:48.077858"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:07:48.086459"], ["updated_at", "2015-02-20 18:07:48.086459"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:07:48.098478' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:07:48.111019"], ["updated_at", "2015-02-20 18:07:48.111019"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:07:48.116294' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:07:48.141642"], ["updated_at", "2015-02-20 18:07:48.141642"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:07:48.145084"], ["updated_at", "2015-02-20 18:07:48.145084"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.4ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:07:48.148482' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:07:48.168127"], ["updated_at", "2015-02-20 18:07:48.168127"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:07:48.172821"], ["updated_at", "2015-02-20 18:07:48.172821"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:07:48.175743' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.692208"], ["updated_at", "2015-02-20 18:07:48.692208"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.716364"], ["updated_at", "2015-02-20 18:07:48.716364"]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.725777"], ["updated_at", "2015-02-20 18:07:48.725777"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.756917"], ["updated_at", "2015-02-20 18:07:48.756917"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.763408"], ["updated_at", "2015-02-20 18:07:48.763408"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.776210"], ["updated_at", "2015-02-20 18:07:48.776210"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.781651"], ["updated_at", "2015-02-20 18:07:48.781651"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.784452"], ["updated_at", "2015-02-20 18:07:48.784452"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.792858"], ["updated_at", "2015-02-20 18:07:48.792858"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.798233"], ["updated_at", "2015-02-20 18:07:48.798233"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:07:48.803821"], ["updated_at", "2015-02-20 18:07:48.803821"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 10.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (5.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (632.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:09:05.076332"], ["updated_at", "2015-02-20 18:09:05.076332"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:09:05.081969"], ["updated_at", "2015-02-20 18:09:05.081969"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.091185' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:09:05.101199"], ["updated_at", "2015-02-20 18:09:05.101199"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.105278' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:09:05.120746"], ["updated_at", "2015-02-20 18:09:05.120746"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:09:05.122978"], ["updated_at", "2015-02-20 18:09:05.122978"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.125367' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:09:05.134405"], ["updated_at", "2015-02-20 18:09:05.134405"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:09:05.136505"], ["updated_at", "2015-02-20 18:09:05.136505"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.138621' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.592706"], ["updated_at", "2015-02-20 18:09:05.592706"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.616135"], ["updated_at", "2015-02-20 18:09:05.616135"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.622948"], ["updated_at", "2015-02-20 18:09:05.622948"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.650932"], ["updated_at", "2015-02-20 18:09:05.650932"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.657860"], ["updated_at", "2015-02-20 18:09:05.657860"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:09:05.687098"], ["updated_at", "2015-02-20 18:09:05.687098"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:09:05.689106"], ["updated_at", "2015-02-20 18:09:05.689106"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.691522' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:09:05.710123"], ["updated_at", "2015-02-20 18:09:05.710123"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123411 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:09:05.712306"], ["updated_at", "2015-02-20 18:09:05.712306"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.714378' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:09:05.723793"], ["updated_at", "2015-02-20 18:09:05.723793"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123412 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:09:05.726198"], ["updated_at", "2015-02-20 18:09:05.726198"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:09:05.728162' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.799822"], ["updated_at", "2015-02-20 18:09:05.799822"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.804628"], ["updated_at", "2015-02-20 18:09:05.804628"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.809683"], ["updated_at", "2015-02-20 18:09:05.809683"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123417 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.815405"], ["updated_at", "2015-02-20 18:09:05.815405"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123417 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.817945"], ["updated_at", "2015-02-20 18:09:05.817945"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123418 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:09:05.826826"], ["updated_at", "2015-02-20 18:09:05.826826"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (101.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.6ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.060796"], ["updated_at", "2015-02-20 18:10:37.060796"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.552860"], ["updated_at", "2015-02-20 18:10:37.552860"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.559245"], ["updated_at", "2015-02-20 18:10:37.559245"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.564776"], ["updated_at", "2015-02-20 18:10:37.564776"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.569727"], ["updated_at", "2015-02-20 18:10:37.569727"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.572160"], ["updated_at", "2015-02-20 18:10:37.572160"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:10:37.687304"], ["updated_at", "2015-02-20 18:10:37.687304"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:10:37.690510"], ["updated_at", "2015-02-20 18:10:37.690510"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.696140' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:10:37.717631"], ["updated_at", "2015-02-20 18:10:37.717631"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12348 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:10:37.720312"], ["updated_at", "2015-02-20 18:10:37.720312"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.722974' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:10:37.733991"], ["updated_at", "2015-02-20 18:10:37.733991"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:10:37.737508"], ["updated_at", "2015-02-20 18:10:37.737508"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.740052' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.772414"], ["updated_at", "2015-02-20 18:10:37.772414"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.778707"], ["updated_at", "2015-02-20 18:10:37.778707"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.828946"], ["updated_at", "2015-02-20 18:10:37.828946"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.869607"], ["updated_at", "2015-02-20 18:10:37.869607"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:10:37.878352"], ["updated_at", "2015-02-20 18:10:37.878352"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:10:37.890556"], ["updated_at", "2015-02-20 18:10:37.890556"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:10:37.892830"], ["updated_at", "2015-02-20 18:10:37.892830"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.895343' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:10:37.908571"], ["updated_at", "2015-02-20 18:10:37.908571"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:10:37.911462"], ["updated_at", "2015-02-20 18:10:37.911462"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.914002' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:10:37.924466"], ["updated_at", "2015-02-20 18:10:37.924466"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123417 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:10:37.927414"], ["updated_at", "2015-02-20 18:10:37.927414"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.930461' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123418 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:10:37.936491"], ["updated_at", "2015-02-20 18:10:37.936491"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:10:37.940106' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (225.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 37ms (Views: 12.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.126175"], ["updated_at", "2015-02-20 18:12:11.126175"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.140920"], ["updated_at", "2015-02-20 18:12:11.140920"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.176026"], ["updated_at", "2015-02-20 18:12:11.176026"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.202909"], ["updated_at", "2015-02-20 18:12:11.202909"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.210069"], ["updated_at", "2015-02-20 18:12:11.210069"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:12:11.223452"], ["updated_at", "2015-02-20 18:12:11.223452"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:12:11.226140"], ["updated_at", "2015-02-20 18:12:11.226140"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.232192' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:12:11.245369"], ["updated_at", "2015-02-20 18:12:11.245369"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:12:11.247779"], ["updated_at", "2015-02-20 18:12:11.247779"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.251334' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:12:11.257757"], ["updated_at", "2015-02-20 18:12:11.257757"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.260330' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:12:11.275037"], ["updated_at", "2015-02-20 18:12:11.275037"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:12:11.277533"], ["updated_at", "2015-02-20 18:12:11.277533"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.279773' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:12:11.324902"], ["updated_at", "2015-02-20 18:12:11.324902"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:12:11.327357"], ["updated_at", "2015-02-20 18:12:11.327357"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.329634' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:12:11.344478"], ["updated_at", "2015-02-20 18:12:11.344478"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123411 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:12:11.346624"], ["updated_at", "2015-02-20 18:12:11.346624"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:12:11.348889' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.356179"], ["updated_at", "2015-02-20 18:12:11.356179"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.361529"], ["updated_at", "2015-02-20 18:12:11.361529"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.367495"], ["updated_at", "2015-02-20 18:12:11.367495"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.370365"], ["updated_at", "2015-02-20 18:12:11.370365"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.376720"], ["updated_at", "2015-02-20 18:12:11.376720"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:12:11.383020"], ["updated_at", "2015-02-20 18:12:11.383020"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.7ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.406072"], ["updated_at", "2015-02-20 18:13:42.406072"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.475468"], ["updated_at", "2015-02-20 18:13:42.475468"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.481787"], ["updated_at", "2015-02-20 18:13:42.481787"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.933262"], ["updated_at", "2015-02-20 18:13:42.933262"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.935904"], ["updated_at", "2015-02-20 18:13:42.935904"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:42.942363"], ["updated_at", "2015-02-20 18:13:42.942363"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:13:43.000997"], ["updated_at", "2015-02-20 18:13:43.000997"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:13:43.003625"], ["updated_at", "2015-02-20 18:13:43.003625"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.009563' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:13:43.027271"], ["updated_at", "2015-02-20 18:13:43.027271"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:13:43.029920"], ["updated_at", "2015-02-20 18:13:43.029920"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.032216' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:13:43.066862"], ["updated_at", "2015-02-20 18:13:43.066862"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:13:43.071067"], ["updated_at", "2015-02-20 18:13:43.071067"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.074186' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:13:43.089532"], ["updated_at", "2015-02-20 18:13:43.089532"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:13:43.091479"], ["updated_at", "2015-02-20 18:13:43.091479"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.093277' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:13:43.098464"], ["updated_at", "2015-02-20 18:13:43.098464"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.100783' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:13:43.113251"], ["updated_at", "2015-02-20 18:13:43.113251"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:13:43.115119"], ["updated_at", "2015-02-20 18:13:43.115119"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:13:43.116904' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:43.149931"], ["updated_at", "2015-02-20 18:13:43.149931"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:43.158301"], ["updated_at", "2015-02-20 18:13:43.158301"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:43.186982"], ["updated_at", "2015-02-20 18:13:43.186982"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:43.231969"], ["updated_at", "2015-02-20 18:13:43.231969"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:13:43.237316"], ["updated_at", "2015-02-20 18:13:43.237316"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:14:18.099746"], ["updated_at", "2015-02-20 18:14:18.099746"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:14:18.104715"], ["updated_at", "2015-02-20 18:14:18.104715"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.113250' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:14:18.123359"], ["updated_at", "2015-02-20 18:14:18.123359"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.128014' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:14:18.142261"], ["updated_at", "2015-02-20 18:14:18.142261"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:14:18.144226"], ["updated_at", "2015-02-20 18:14:18.144226"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.146062' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:14:18.155337"], ["updated_at", "2015-02-20 18:14:18.155337"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:14:18.157236"], ["updated_at", "2015-02-20 18:14:18.157236"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.159341' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.653664"], ["updated_at", "2015-02-20 18:14:18.653664"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.682276"], ["updated_at", "2015-02-20 18:14:18.682276"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.691649"], ["updated_at", "2015-02-20 18:14:18.691649"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.722912"], ["updated_at", "2015-02-20 18:14:18.722912"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.729834"], ["updated_at", "2015-02-20 18:14:18.729834"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:14:18.763248"], ["updated_at", "2015-02-20 18:14:18.763248"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:14:18.765311"], ["updated_at", "2015-02-20 18:14:18.765311"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.767595' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:14:18.782272"], ["updated_at", "2015-02-20 18:14:18.782272"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123411 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:14:18.784157"], ["updated_at", "2015-02-20 18:14:18.784157"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:14:18.787107' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.858937"], ["updated_at", "2015-02-20 18:14:18.858937"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.865034"], ["updated_at", "2015-02-20 18:14:18.865034"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.871574"], ["updated_at", "2015-02-20 18:14:18.871574"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.878152"], ["updated_at", "2015-02-20 18:14:18.878152"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.881015"], ["updated_at", "2015-02-20 18:14:18.881015"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:14:18.886725"], ["updated_at", "2015-02-20 18:14:18.886725"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.074929"], ["updated_at", "2015-02-20 18:15:22.074929"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.136352"], ["updated_at", "2015-02-20 18:15:22.136352"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.573035"], ["updated_at", "2015-02-20 18:15:22.573035"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.579768"], ["updated_at", "2015-02-20 18:15:22.579768"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.585957"], ["updated_at", "2015-02-20 18:15:22.585957"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.588889"], ["updated_at", "2015-02-20 18:15:22.588889"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 11ms (Views: 11.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:15:22.690789"], ["updated_at", "2015-02-20 18:15:22.690789"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:15:22.693268"], ["updated_at", "2015-02-20 18:15:22.693268"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.699430' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:15:22.717369"], ["updated_at", "2015-02-20 18:15:22.717369"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:15:22.720009"], ["updated_at", "2015-02-20 18:15:22.720009"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.722163' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.754134"], ["updated_at", "2015-02-20 18:15:22.754134"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.760798"], ["updated_at", "2015-02-20 18:15:22.760798"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.806563"], ["updated_at", "2015-02-20 18:15:22.806563"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.812331"], ["updated_at", "2015-02-20 18:15:22.812331"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:15:22.840108"], ["updated_at", "2015-02-20 18:15:22.840108"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:15:22.861086"], ["updated_at", "2015-02-20 18:15:22.861086"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:15:22.863377"], ["updated_at", "2015-02-20 18:15:22.863377"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.866321' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:15:22.878610"], ["updated_at", "2015-02-20 18:15:22.878610"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:15:22.881520"], ["updated_at", "2015-02-20 18:15:22.881520"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.884263' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:15:22.895168"], ["updated_at", "2015-02-20 18:15:22.895168"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:15:22.897582"], ["updated_at", "2015-02-20 18:15:22.897582"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.900266' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:15:22.906158"], ["updated_at", "2015-02-20 18:15:22.906158"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:15:22.908597' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:16:35.610885"], ["updated_at", "2015-02-20 18:16:35.610885"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:16:35.615933"], ["updated_at", "2015-02-20 18:16:35.615933"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.627381' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:16:35.637173"], ["updated_at", "2015-02-20 18:16:35.637173"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.640500' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:16:35.656914"], ["updated_at", "2015-02-20 18:16:35.656914"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:16:35.659280"], ["updated_at", "2015-02-20 18:16:35.659280"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.661744' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:16:35.674770"], ["updated_at", "2015-02-20 18:16:35.674770"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:16:35.676715"], ["updated_at", "2015-02-20 18:16:35.676715"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.678688' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:16:35.708192"], ["updated_at", "2015-02-20 18:16:35.708192"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:16:35.712198"], ["updated_at", "2015-02-20 18:16:35.712198"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.716270' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:16:35.726212"], ["updated_at", "2015-02-20 18:16:35.726212"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:16:35.728254"], ["updated_at", "2015-02-20 18:16:35.728254"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:16:35.730369' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.184971"], ["updated_at", "2015-02-20 18:16:36.184971"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.213222"], ["updated_at", "2015-02-20 18:16:36.213222"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.220320"], ["updated_at", "2015-02-20 18:16:36.220320"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.253556"], ["updated_at", "2015-02-20 18:16:36.253556"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.259721"], ["updated_at", "2015-02-20 18:16:36.259721"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.267401"], ["updated_at", "2015-02-20 18:16:36.267401"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.271170"], ["updated_at", "2015-02-20 18:16:36.271170"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.277158"], ["updated_at", "2015-02-20 18:16:36.277158"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.282485"], ["updated_at", "2015-02-20 18:16:36.282485"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.297979"], ["updated_at", "2015-02-20 18:16:36.297979"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:16:36.305976"], ["updated_at", "2015-02-20 18:16:36.305976"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:52.466313"], ["updated_at", "2015-02-20 18:17:52.466313"]]
   (0.3ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:52.536512"], ["updated_at", "2015-02-20 18:17:52.536512"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:52.998725"], ["updated_at", "2015-02-20 18:17:52.998725"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.005765"], ["updated_at", "2015-02-20 18:17:53.005765"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.012019"], ["updated_at", "2015-02-20 18:17:53.012019"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.014829"], ["updated_at", "2015-02-20 18:17:53.014829"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:17:53.125163"], ["updated_at", "2015-02-20 18:17:53.125163"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:17:53.127840"], ["updated_at", "2015-02-20 18:17:53.127840"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.133185' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:17:53.148517"], ["updated_at", "2015-02-20 18:17:53.148517"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:17:53.150448"], ["updated_at", "2015-02-20 18:17:53.150448"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.152715' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.205669"], ["updated_at", "2015-02-20 18:17:53.205669"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.213486"], ["updated_at", "2015-02-20 18:17:53.213486"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.242399"], ["updated_at", "2015-02-20 18:17:53.242399"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.247669"], ["updated_at", "2015-02-20 18:17:53.247669"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:17:53.275711"], ["updated_at", "2015-02-20 18:17:53.275711"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:17:53.295995"], ["updated_at", "2015-02-20 18:17:53.295995"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:17:53.297923"], ["updated_at", "2015-02-20 18:17:53.297923"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.299859' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:17:53.313944"], ["updated_at", "2015-02-20 18:17:53.313944"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:17:53.316438"], ["updated_at", "2015-02-20 18:17:53.316438"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.318931' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:17:53.328667"], ["updated_at", "2015-02-20 18:17:53.328667"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:17:53.330652"], ["updated_at", "2015-02-20 18:17:53.330652"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.333026' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:17:53.338083"], ["updated_at", "2015-02-20 18:17:53.338083"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:17:53.340288' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.0ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.9ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 36ms (Views: 11.4ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:02.763468"], ["updated_at", "2015-02-20 18:18:02.763468"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:02.800695"], ["updated_at", "2015-02-20 18:18:02.800695"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:02.806942"], ["updated_at", "2015-02-20 18:18:02.806942"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:02.839141"], ["updated_at", "2015-02-20 18:18:02.839141"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:02.844488"], ["updated_at", "2015-02-20 18:18:02.844488"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:18:02.860669"], ["updated_at", "2015-02-20 18:18:02.860669"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:18:02.864581"], ["updated_at", "2015-02-20 18:18:02.864581"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.871986' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:18:02.885011"], ["updated_at", "2015-02-20 18:18:02.885011"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:18:02.888277"], ["updated_at", "2015-02-20 18:18:02.888277"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.892892' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:18:02.899258"], ["updated_at", "2015-02-20 18:18:02.899258"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.901533' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:18:02.914688"], ["updated_at", "2015-02-20 18:18:02.914688"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:18:02.916631"], ["updated_at", "2015-02-20 18:18:02.916631"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.919498' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:18:02.962695"], ["updated_at", "2015-02-20 18:18:02.962695"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:18:02.965073"], ["updated_at", "2015-02-20 18:18:02.965073"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.967952' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:18:02.980886"], ["updated_at", "2015-02-20 18:18:02.980886"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:18:02.983061"], ["updated_at", "2015-02-20 18:18:02.983061"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:18:02.986145' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.000157"], ["updated_at", "2015-02-20 18:18:03.000157"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.004605"], ["updated_at", "2015-02-20 18:18:03.004605"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.011260"], ["updated_at", "2015-02-20 18:18:03.011260"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.016419"], ["updated_at", "2015-02-20 18:18:03.016419"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.023508"], ["updated_at", "2015-02-20 18:18:03.023508"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:18:03.029001"], ["updated_at", "2015-02-20 18:18:03.029001"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.0ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:19:28.265429"], ["updated_at", "2015-02-20 18:19:28.265429"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:19:28.271126"], ["updated_at", "2015-02-20 18:19:28.271126"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.281351' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:19:28.291978"], ["updated_at", "2015-02-20 18:19:28.291978"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.295418' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:19:28.311121"], ["updated_at", "2015-02-20 18:19:28.311121"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:19:28.313640"], ["updated_at", "2015-02-20 18:19:28.313640"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.316840' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:19:28.326841"], ["updated_at", "2015-02-20 18:19:28.326841"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:19:28.329025"], ["updated_at", "2015-02-20 18:19:28.329025"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.331486' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.780921"], ["updated_at", "2015-02-20 18:19:28.780921"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.810486"], ["updated_at", "2015-02-20 18:19:28.810486"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.818031"], ["updated_at", "2015-02-20 18:19:28.818031"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.848274"], ["updated_at", "2015-02-20 18:19:28.848274"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.854421"], ["updated_at", "2015-02-20 18:19:28.854421"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:19:28.882012"], ["updated_at", "2015-02-20 18:19:28.882012"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:19:28.884385"], ["updated_at", "2015-02-20 18:19:28.884385"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.886879' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:19:28.896680"], ["updated_at", "2015-02-20 18:19:28.896680"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:19:28.899292"], ["updated_at", "2015-02-20 18:19:28.899292"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:19:28.901346' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.973584"], ["updated_at", "2015-02-20 18:19:28.973584"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.979856"], ["updated_at", "2015-02-20 18:19:28.979856"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.982865"], ["updated_at", "2015-02-20 18:19:28.982865"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (1.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.990055"], ["updated_at", "2015-02-20 18:19:28.990055"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:28.995091"], ["updated_at", "2015-02-20 18:19:28.995091"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:19:29.000703"], ["updated_at", "2015-02-20 18:19:29.000703"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 36ms (Views: 14.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.1ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.526435"], ["updated_at", "2015-02-20 18:20:21.526435"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.542913"], ["updated_at", "2015-02-20 18:20:21.542913"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.546608"], ["updated_at", "2015-02-20 18:20:21.546608"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.553674"], ["updated_at", "2015-02-20 18:20:21.553674"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.559129"], ["updated_at", "2015-02-20 18:20:21.559129"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.564291"], ["updated_at", "2015-02-20 18:20:21.564291"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.634137"], ["updated_at", "2015-02-20 18:20:21.634137"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.640275"], ["updated_at", "2015-02-20 18:20:21.640275"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.668395"], ["updated_at", "2015-02-20 18:20:21.668395"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.704227"], ["updated_at", "2015-02-20 18:20:21.704227"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:20:21.711917"], ["updated_at", "2015-02-20 18:20:21.711917"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:20:21.746296"], ["updated_at", "2015-02-20 18:20:21.746296"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:20:21.748568"], ["updated_at", "2015-02-20 18:20:21.748568"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.754440' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:20:21.768991"], ["updated_at", "2015-02-20 18:20:21.768991"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:20:21.771016"], ["updated_at", "2015-02-20 18:20:21.771016"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.773270' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:20:21.805610"], ["updated_at", "2015-02-20 18:20:21.805610"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:20:21.807781"], ["updated_at", "2015-02-20 18:20:21.807781"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.810225' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:20:21.819328"], ["updated_at", "2015-02-20 18:20:21.819328"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:20:21.821740"], ["updated_at", "2015-02-20 18:20:21.821740"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.823770' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:20:21.839592"], ["updated_at", "2015-02-20 18:20:21.839592"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:20:21.843748"], ["updated_at", "2015-02-20 18:20:21.843748"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.848165' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:20:21.853971"], ["updated_at", "2015-02-20 18:20:21.853971"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:20:21.856817' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.0ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 32ms (Views: 11.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.381371"], ["updated_at", "2015-02-20 18:21:21.381371"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.395200"], ["updated_at", "2015-02-20 18:21:21.395200"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.401360"], ["updated_at", "2015-02-20 18:21:21.401360"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.406387"], ["updated_at", "2015-02-20 18:21:21.406387"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.411952"], ["updated_at", "2015-02-20 18:21:21.411952"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.414318"], ["updated_at", "2015-02-20 18:21:21.414318"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.472589"], ["updated_at", "2015-02-20 18:21:21.472589"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.480647"], ["updated_at", "2015-02-20 18:21:21.480647"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.536784"], ["updated_at", "2015-02-20 18:21:21.536784"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.542021"], ["updated_at", "2015-02-20 18:21:21.542021"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:21:21.569717"], ["updated_at", "2015-02-20 18:21:21.569717"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:21:21.597214"], ["updated_at", "2015-02-20 18:21:21.597214"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:21:21.599599"], ["updated_at", "2015-02-20 18:21:21.599599"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.605080' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:21:21.619105"], ["updated_at", "2015-02-20 18:21:21.619105"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:21:21.621047"], ["updated_at", "2015-02-20 18:21:21.621047"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.634698' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:21:21.652304"], ["updated_at", "2015-02-20 18:21:21.652304"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:21:21.655527"], ["updated_at", "2015-02-20 18:21:21.655527"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.658798' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:21:21.667436"], ["updated_at", "2015-02-20 18:21:21.667436"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:21:21.669562"], ["updated_at", "2015-02-20 18:21:21.669562"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.672400' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:21:21.686240"], ["updated_at", "2015-02-20 18:21:21.686240"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:21:21.688288"], ["updated_at", "2015-02-20 18:21:21.688288"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.690084' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:21:21.695444"], ["updated_at", "2015-02-20 18:21:21.695444"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:21:21.697855' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:22:11.882625"], ["updated_at", "2015-02-20 18:22:11.882625"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:22:11.887899"], ["updated_at", "2015-02-20 18:22:11.887899"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:11.897843' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:22:11.907187"], ["updated_at", "2015-02-20 18:22:11.907187"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:11.910663' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:22:11.926141"], ["updated_at", "2015-02-20 18:22:11.926141"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:22:11.928077"], ["updated_at", "2015-02-20 18:22:11.928077"]]
  User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:11.930982' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:22:11.940847"], ["updated_at", "2015-02-20 18:22:11.940847"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:22:11.943053"], ["updated_at", "2015-02-20 18:22:11.943053"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:11.945456' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.406384"], ["updated_at", "2015-02-20 18:22:12.406384"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.435448"], ["updated_at", "2015-02-20 18:22:12.435448"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.443081"], ["updated_at", "2015-02-20 18:22:12.443081"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.474706"], ["updated_at", "2015-02-20 18:22:12.474706"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.485266"], ["updated_at", "2015-02-20 18:22:12.485266"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:22:12.522668"], ["updated_at", "2015-02-20 18:22:12.522668"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:22:12.525388"], ["updated_at", "2015-02-20 18:22:12.525388"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:12.528123' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.3ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:22:12.548639"], ["updated_at", "2015-02-20 18:22:12.548639"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123411 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:22:12.550937"], ["updated_at", "2015-02-20 18:22:12.550937"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:22:12.553407' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 36ms (Views: 34.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.7ms)
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.646665"], ["updated_at", "2015-02-20 18:22:12.646665"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.651650"], ["updated_at", "2015-02-20 18:22:12.651650"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.660741"], ["updated_at", "2015-02-20 18:22:12.660741"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.667629"], ["updated_at", "2015-02-20 18:22:12.667629"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.676322"], ["updated_at", "2015-02-20 18:22:12.676322"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:22:12.682409"], ["updated_at", "2015-02-20 18:22:12.682409"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (2.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.7ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:23:31.732403"], ["updated_at", "2015-02-20 18:23:31.732403"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:23:31.737950"], ["updated_at", "2015-02-20 18:23:31.737950"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.748927' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:23:31.758530"], ["updated_at", "2015-02-20 18:23:31.758530"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.761891' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:23:31.780759"], ["updated_at", "2015-02-20 18:23:31.780759"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:23:31.782770"], ["updated_at", "2015-02-20 18:23:31.782770"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.785173' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:23:31.797299"], ["updated_at", "2015-02-20 18:23:31.797299"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:23:31.799265"], ["updated_at", "2015-02-20 18:23:31.799265"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.801105' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:23:31.828450"], ["updated_at", "2015-02-20 18:23:31.828450"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:23:31.831391"], ["updated_at", "2015-02-20 18:23:31.831391"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.834953' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:23:31.844009"], ["updated_at", "2015-02-20 18:23:31.844009"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:23:31.846045"], ["updated_at", "2015-02-20 18:23:31.846045"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:23:31.848158' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.328529"], ["updated_at", "2015-02-20 18:23:32.328529"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.358416"], ["updated_at", "2015-02-20 18:23:32.358416"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.364888"], ["updated_at", "2015-02-20 18:23:32.364888"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.397424"], ["updated_at", "2015-02-20 18:23:32.397424"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.403139"], ["updated_at", "2015-02-20 18:23:32.403139"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.411225"], ["updated_at", "2015-02-20 18:23:32.411225"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.416688"], ["updated_at", "2015-02-20 18:23:32.416688"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.9ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.419714"], ["updated_at", "2015-02-20 18:23:32.419714"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.7ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.443656"], ["updated_at", "2015-02-20 18:23:32.443656"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.453073"], ["updated_at", "2015-02-20 18:23:32.453073"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:23:32.460561"], ["updated_at", "2015-02-20 18:23:32.460561"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.7ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.3ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 29ms (Views: 9.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:53.966990"], ["updated_at", "2015-02-20 18:24:53.966990"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.2ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:53.985421"], ["updated_at", "2015-02-20 18:24:53.985421"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:53.991421"], ["updated_at", "2015-02-20 18:24:53.991421"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:53.996273"], ["updated_at", "2015-02-20 18:24:53.996273"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.001508"], ["updated_at", "2015-02-20 18:24:54.001508"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.003984"], ["updated_at", "2015-02-20 18:24:54.003984"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.058578"], ["updated_at", "2015-02-20 18:24:54.058578"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.065408"], ["updated_at", "2015-02-20 18:24:54.065408"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.4ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.116416"], ["updated_at", "2015-02-20 18:24:54.116416"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.121848"], ["updated_at", "2015-02-20 18:24:54.121848"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:24:54.146904"], ["updated_at", "2015-02-20 18:24:54.146904"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:24:54.173258"], ["updated_at", "2015-02-20 18:24:54.173258"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:24:54.175468"], ["updated_at", "2015-02-20 18:24:54.175468"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.182285' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:24:54.202530"], ["updated_at", "2015-02-20 18:24:54.202530"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:24:54.206752"], ["updated_at", "2015-02-20 18:24:54.206752"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.209131' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:24:54.234680"], ["updated_at", "2015-02-20 18:24:54.234680"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:24:54.238061"], ["updated_at", "2015-02-20 18:24:54.238061"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.241085' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:24:54.249977"], ["updated_at", "2015-02-20 18:24:54.249977"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:24:54.252343"], ["updated_at", "2015-02-20 18:24:54.252343"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.254535' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:24:54.267359"], ["updated_at", "2015-02-20 18:24:54.267359"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:24:54.269671"], ["updated_at", "2015-02-20 18:24:54.269671"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.271806' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.9ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:24:54.280483"], ["updated_at", "2015-02-20 18:24:54.280483"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:24:54.287816' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (1.9ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.3ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:25:01.049873"], ["updated_at", "2015-02-20 18:25:01.049873"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:01.057838"], ["updated_at", "2015-02-20 18:25:01.057838"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.069729' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:01.081968"], ["updated_at", "2015-02-20 18:25:01.081968"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.085639' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:25:01.100891"], ["updated_at", "2015-02-20 18:25:01.100891"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:01.103050"], ["updated_at", "2015-02-20 18:25:01.103050"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.105152' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:25:01.118826"], ["updated_at", "2015-02-20 18:25:01.118826"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:01.121007"], ["updated_at", "2015-02-20 18:25:01.121007"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.123423' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:25:01.153350"], ["updated_at", "2015-02-20 18:25:01.153350"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:25:01.155794"], ["updated_at", "2015-02-20 18:25:01.155794"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.158363' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:25:01.168915"], ["updated_at", "2015-02-20 18:25:01.168915"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:25:01.171677"], ["updated_at", "2015-02-20 18:25:01.171677"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:01.174382' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.623336"], ["updated_at", "2015-02-20 18:25:01.623336"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.647934"], ["updated_at", "2015-02-20 18:25:01.647934"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.656532"], ["updated_at", "2015-02-20 18:25:01.656532"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.685656"], ["updated_at", "2015-02-20 18:25:01.685656"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.693288"], ["updated_at", "2015-02-20 18:25:01.693288"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.710191"], ["updated_at", "2015-02-20 18:25:01.710191"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.715223"], ["updated_at", "2015-02-20 18:25:01.715223"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.717644"], ["updated_at", "2015-02-20 18:25:01.717644"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.723140"], ["updated_at", "2015-02-20 18:25:01.723140"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.738985"], ["updated_at", "2015-02-20 18:25:01.738985"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:01.745041"], ["updated_at", "2015-02-20 18:25:01.745041"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 32ms (Views: 10.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.265627"], ["updated_at", "2015-02-20 18:25:39.265627"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.280026"], ["updated_at", "2015-02-20 18:25:39.280026"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.286987"], ["updated_at", "2015-02-20 18:25:39.286987"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.289814"], ["updated_at", "2015-02-20 18:25:39.289814"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.296288"], ["updated_at", "2015-02-20 18:25:39.296288"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.301428"], ["updated_at", "2015-02-20 18:25:39.301428"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.371276"], ["updated_at", "2015-02-20 18:25:39.371276"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.377571"], ["updated_at", "2015-02-20 18:25:39.377571"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.406005"], ["updated_at", "2015-02-20 18:25:39.406005"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.411551"], ["updated_at", "2015-02-20 18:25:39.411551"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:25:39.437242"], ["updated_at", "2015-02-20 18:25:39.437242"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:25:39.465144"], ["updated_at", "2015-02-20 18:25:39.465144"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:25:39.467616"], ["updated_at", "2015-02-20 18:25:39.467616"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.474396' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:25:39.492434"], ["updated_at", "2015-02-20 18:25:39.492434"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:25:39.494636"], ["updated_at", "2015-02-20 18:25:39.494636"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.497302' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:25:39.506458"], ["updated_at", "2015-02-20 18:25:39.506458"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:39.519512"], ["updated_at", "2015-02-20 18:25:39.519512"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.522322' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:25:39.531675"], ["updated_at", "2015-02-20 18:25:39.531675"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:39.534276"], ["updated_at", "2015-02-20 18:25:39.534276"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.537092' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:25:39.548736"], ["updated_at", "2015-02-20 18:25:39.548736"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:39.550655"], ["updated_at", "2015-02-20 18:25:39.550655"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.553986' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:25:39.559166"], ["updated_at", "2015-02-20 18:25:39.559166"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:25:39.561374' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 34ms (Views: 12.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.633120"], ["updated_at", "2015-02-20 18:26:16.633120"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.670928"], ["updated_at", "2015-02-20 18:26:16.670928"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.678756"], ["updated_at", "2015-02-20 18:26:16.678756"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.707636"], ["updated_at", "2015-02-20 18:26:16.707636"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.713319"], ["updated_at", "2015-02-20 18:26:16.713319"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:26:16.725476"], ["updated_at", "2015-02-20 18:26:16.725476"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:16.728853"], ["updated_at", "2015-02-20 18:26:16.728853"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.737759' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:26:16.750431"], ["updated_at", "2015-02-20 18:26:16.750431"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:16.752459"], ["updated_at", "2015-02-20 18:26:16.752459"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.754341' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:16.761848"], ["updated_at", "2015-02-20 18:26:16.761848"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.764113' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:26:16.776872"], ["updated_at", "2015-02-20 18:26:16.776872"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:16.778752"], ["updated_at", "2015-02-20 18:26:16.778752"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.780518' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:26:16.822553"], ["updated_at", "2015-02-20 18:26:16.822553"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:26:16.825087"], ["updated_at", "2015-02-20 18:26:16.825087"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.827182' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:26:16.838429"], ["updated_at", "2015-02-20 18:26:16.838429"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:26:16.840488"], ["updated_at", "2015-02-20 18:26:16.840488"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:16.842364' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.848812"], ["updated_at", "2015-02-20 18:26:16.848812"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.854408"], ["updated_at", "2015-02-20 18:26:16.854408"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.859420"], ["updated_at", "2015-02-20 18:26:16.859420"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.865607"], ["updated_at", "2015-02-20 18:26:16.865607"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.870892"], ["updated_at", "2015-02-20 18:26:16.870892"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:16.877262"], ["updated_at", "2015-02-20 18:26:16.877262"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.4ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (579.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (0.9ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 30ms (Views: 10.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:48.944293"], ["updated_at", "2015-02-20 18:26:48.944293"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:48.968319"], ["updated_at", "2015-02-20 18:26:48.968319"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:48.997772"], ["updated_at", "2015-02-20 18:26:48.997772"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.038477"], ["updated_at", "2015-02-20 18:26:49.038477"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.046535"], ["updated_at", "2015-02-20 18:26:49.046535"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:26:49.062095"], ["updated_at", "2015-02-20 18:26:49.062095"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:49.065492"], ["updated_at", "2015-02-20 18:26:49.065492"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.076677' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:26:49.094143"], ["updated_at", "2015-02-20 18:26:49.094143"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:49.096401"], ["updated_at", "2015-02-20 18:26:49.096401"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.098754' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:49.103609"], ["updated_at", "2015-02-20 18:26:49.103609"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.105726' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:26:49.118573"], ["updated_at", "2015-02-20 18:26:49.118573"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:26:49.120558"], ["updated_at", "2015-02-20 18:26:49.120558"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.122481' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:26:49.167764"], ["updated_at", "2015-02-20 18:26:49.167764"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12349 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:26:49.172006"], ["updated_at", "2015-02-20 18:26:49.172006"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.175867' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:26:49.187102"], ["updated_at", "2015-02-20 18:26:49.187102"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"123410 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:26:49.189273"], ["updated_at", "2015-02-20 18:26:49.189273"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:26:49.191362' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.200727"], ["updated_at", "2015-02-20 18:26:49.200727"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.208340"], ["updated_at", "2015-02-20 18:26:49.208340"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.211819"], ["updated_at", "2015-02-20 18:26:49.211819"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.219426"], ["updated_at", "2015-02-20 18:26:49.219426"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.224926"], ["updated_at", "2015-02-20 18:26:49.224926"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:26:49.230284"], ["updated_at", "2015-02-20 18:26:49.230284"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (100.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (631.4ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:27:53.900713"], ["updated_at", "2015-02-20 18:27:53.900713"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:27:53.907724"], ["updated_at", "2015-02-20 18:27:53.907724"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:53.917355' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:27:53.927006"], ["updated_at", "2015-02-20 18:27:53.927006"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:53.930496' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.4ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:27:53.946392"], ["updated_at", "2015-02-20 18:27:53.946392"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:27:53.949265"], ["updated_at", "2015-02-20 18:27:53.949265"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:53.951658' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:27:53.963535"], ["updated_at", "2015-02-20 18:27:53.963535"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:27:53.965431"], ["updated_at", "2015-02-20 18:27:53.965431"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.3ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:53.967323' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:27:53.996964"], ["updated_at", "2015-02-20 18:27:53.996964"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12346 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:27:53.999167"], ["updated_at", "2015-02-20 18:27:53.999167"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:54.001334' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:27:54.011737"], ["updated_at", "2015-02-20 18:27:54.011737"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "city", "state_code", "country_code", "postal_code", "address1", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["address1", "[\"12347 Fake Street\", nil, \"San Antonio\", \"TX\", \"US\", \"92387\"]"], ["addressable_id", 1], ["created_at", "2015-02-20 18:27:54.014344"], ["updated_at", "2015-02-20 18:27:54.014344"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:27:54.016301' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.467452"], ["updated_at", "2015-02-20 18:27:54.467452"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.498864"], ["updated_at", "2015-02-20 18:27:54.498864"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.506281"], ["updated_at", "2015-02-20 18:27:54.506281"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.539864"], ["updated_at", "2015-02-20 18:27:54.539864"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.545481"], ["updated_at", "2015-02-20 18:27:54.545481"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.554142"], ["updated_at", "2015-02-20 18:27:54.554142"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.557675"], ["updated_at", "2015-02-20 18:27:54.557675"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.562922"], ["updated_at", "2015-02-20 18:27:54.562922"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.568167"], ["updated_at", "2015-02-20 18:27:54.568167"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.583540"], ["updated_at", "2015-02-20 18:27:54.583540"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:27:54.590890"], ["updated_at", "2015-02-20 18:27:54.590890"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 10.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.473597"], ["updated_at", "2015-02-20 18:28:55.473597"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.534085"], ["updated_at", "2015-02-20 18:28:55.534085"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.981634"], ["updated_at", "2015-02-20 18:28:55.981634"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.984140"], ["updated_at", "2015-02-20 18:28:55.984140"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.991554"], ["updated_at", "2015-02-20 18:28:55.991554"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:55.996833"], ["updated_at", "2015-02-20 18:28:55.996833"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:28:56.047065"], ["updated_at", "2015-02-20 18:28:56.047065"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:28:56.050185"], ["updated_at", "2015-02-20 18:28:56.050185"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.055760' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:28:56.072917"], ["updated_at", "2015-02-20 18:28:56.072917"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:28:56.076427"], ["updated_at", "2015-02-20 18:28:56.076427"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.079200' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:28:56.107214"], ["updated_at", "2015-02-20 18:28:56.107214"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:28:56.109611"], ["updated_at", "2015-02-20 18:28:56.109611"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.111631' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:28:56.126249"], ["updated_at", "2015-02-20 18:28:56.126249"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:28:56.128754"], ["updated_at", "2015-02-20 18:28:56.128754"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.130805' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:28:56.135559"], ["updated_at", "2015-02-20 18:28:56.135559"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.137923' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:28:56.151769"], ["updated_at", "2015-02-20 18:28:56.151769"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:28:56.153699"], ["updated_at", "2015-02-20 18:28:56.153699"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:28:56.155843' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:56.181113"], ["updated_at", "2015-02-20 18:28:56.181113"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:56.186431"], ["updated_at", "2015-02-20 18:28:56.186431"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:56.212633"], ["updated_at", "2015-02-20 18:28:56.212633"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:56.252040"], ["updated_at", "2015-02-20 18:28:56.252040"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:28:56.261362"], ["updated_at", "2015-02-20 18:28:56.261362"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.0ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:29:25.770303"], ["updated_at", "2015-02-20 18:29:25.770303"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:29:25.775991"], ["updated_at", "2015-02-20 18:29:25.775991"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:25.785560' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:29:25.795531"], ["updated_at", "2015-02-20 18:29:25.795531"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:25.799418' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.3ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.3ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:29:25.821006"], ["updated_at", "2015-02-20 18:29:25.821006"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:29:25.824179"], ["updated_at", "2015-02-20 18:29:25.824179"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:25.827363' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:29:25.838190"], ["updated_at", "2015-02-20 18:29:25.838190"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:29:25.840738"], ["updated_at", "2015-02-20 18:29:25.840738"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:25.843086' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.291703"], ["updated_at", "2015-02-20 18:29:26.291703"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.314476"], ["updated_at", "2015-02-20 18:29:26.314476"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.324382"], ["updated_at", "2015-02-20 18:29:26.324382"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.360450"], ["updated_at", "2015-02-20 18:29:26.360450"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.366988"], ["updated_at", "2015-02-20 18:29:26.366988"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:29:26.398322"], ["updated_at", "2015-02-20 18:29:26.398322"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:29:26.400915"], ["updated_at", "2015-02-20 18:29:26.400915"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:26.402973' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:29:26.414888"], ["updated_at", "2015-02-20 18:29:26.414888"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:29:26.417348"], ["updated_at", "2015-02-20 18:29:26.417348"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:26.419465' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.499121"], ["updated_at", "2015-02-20 18:29:26.499121"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.505382"], ["updated_at", "2015-02-20 18:29:26.505382"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.508031"], ["updated_at", "2015-02-20 18:29:26.508031"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.516179"], ["updated_at", "2015-02-20 18:29:26.516179"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.521907"], ["updated_at", "2015-02-20 18:29:26.521907"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:26.527367"], ["updated_at", "2015-02-20 18:29:26.527367"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.1ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.3ms)  SELECT version FROM "schema_migrations"
   (1.1ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.361577"], ["updated_at", "2015-02-20 18:29:59.361577"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (1.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.865181"], ["updated_at", "2015-02-20 18:29:59.865181"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.870102"], ["updated_at", "2015-02-20 18:29:59.870102"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.877872"], ["updated_at", "2015-02-20 18:29:59.877872"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.883084"], ["updated_at", "2015-02-20 18:29:59.883084"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:29:59.885527"], ["updated_at", "2015-02-20 18:29:59.885527"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:29:59.984373"], ["updated_at", "2015-02-20 18:29:59.984373"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:29:59.986535"], ["updated_at", "2015-02-20 18:29:59.986535"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:29:59.993000' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:30:00.010169"], ["updated_at", "2015-02-20 18:30:00.010169"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:30:00.012370"], ["updated_at", "2015-02-20 18:30:00.012370"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:30:00.015162' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:30:00.075951"], ["updated_at", "2015-02-20 18:30:00.075951"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:30:00.085341"], ["updated_at", "2015-02-20 18:30:00.085341"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:30:00.121621"], ["updated_at", "2015-02-20 18:30:00.121621"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:30:00.129276"], ["updated_at", "2015-02-20 18:30:00.129276"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:30:00.157823"], ["updated_at", "2015-02-20 18:30:00.157823"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:30:00.181431"], ["updated_at", "2015-02-20 18:30:00.181431"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:30:00.183736"], ["updated_at", "2015-02-20 18:30:00.183736"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:30:00.186338' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:30:00.200300"], ["updated_at", "2015-02-20 18:30:00.200300"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:30:00.202492"], ["updated_at", "2015-02-20 18:30:00.202492"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:30:00.204556' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:30:00.215505"], ["updated_at", "2015-02-20 18:30:00.215505"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:30:00.217506"], ["updated_at", "2015-02-20 18:30:00.217506"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:30:00.219458' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:30:00.224690"], ["updated_at", "2015-02-20 18:30:00.224690"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:30:00.227329' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (1.0ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:31:28.812586"], ["updated_at", "2015-02-20 18:31:28.812586"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:28.819899"], ["updated_at", "2015-02-20 18:31:28.819899"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:28.828420' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:28.838564"], ["updated_at", "2015-02-20 18:31:28.838564"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:28.841832' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:31:28.858239"], ["updated_at", "2015-02-20 18:31:28.858239"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:28.861231"], ["updated_at", "2015-02-20 18:31:28.861231"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:28.863781' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:31:28.873073"], ["updated_at", "2015-02-20 18:31:28.873073"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:28.875185"], ["updated_at", "2015-02-20 18:31:28.875185"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:28.877573' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.333591"], ["updated_at", "2015-02-20 18:31:29.333591"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.360856"], ["updated_at", "2015-02-20 18:31:29.360856"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.368283"], ["updated_at", "2015-02-20 18:31:29.368283"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.397705"], ["updated_at", "2015-02-20 18:31:29.397705"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.404780"], ["updated_at", "2015-02-20 18:31:29.404780"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:31:29.438261"], ["updated_at", "2015-02-20 18:31:29.438261"]]
  SQL (0.5ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:31:29.441345"], ["updated_at", "2015-02-20 18:31:29.441345"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:29.446184' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:31:29.461226"], ["updated_at", "2015-02-20 18:31:29.461226"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:31:29.463081"], ["updated_at", "2015-02-20 18:31:29.463081"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:29.465137' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.535857"], ["updated_at", "2015-02-20 18:31:29.535857"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.538942"], ["updated_at", "2015-02-20 18:31:29.538942"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.546258"], ["updated_at", "2015-02-20 18:31:29.546258"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.553969"], ["updated_at", "2015-02-20 18:31:29.553969"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.559234"], ["updated_at", "2015-02-20 18:31:29.559234"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:29.565759"], ["updated_at", "2015-02-20 18:31:29.565759"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.6ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.2ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:46.920630"], ["updated_at", "2015-02-20 18:31:46.920630"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:46.976997"], ["updated_at", "2015-02-20 18:31:46.976997"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:46.979697"], ["updated_at", "2015-02-20 18:31:46.979697"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.427465"], ["updated_at", "2015-02-20 18:31:47.427465"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.3ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.435351"], ["updated_at", "2015-02-20 18:31:47.435351"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.442052"], ["updated_at", "2015-02-20 18:31:47.442052"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:31:47.556909"], ["updated_at", "2015-02-20 18:31:47.556909"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:31:47.559356"], ["updated_at", "2015-02-20 18:31:47.559356"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.564319' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:31:47.578268"], ["updated_at", "2015-02-20 18:31:47.578268"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:31:47.580246"], ["updated_at", "2015-02-20 18:31:47.580246"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.582405' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  Effective::Address Load (0.4ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.619891"], ["updated_at", "2015-02-20 18:31:47.619891"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.626099"], ["updated_at", "2015-02-20 18:31:47.626099"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.650786"], ["updated_at", "2015-02-20 18:31:47.650786"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.656944"], ["updated_at", "2015-02-20 18:31:47.656944"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:31:47.699912"], ["updated_at", "2015-02-20 18:31:47.699912"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:31:47.721175"], ["updated_at", "2015-02-20 18:31:47.721175"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:47.723166"], ["updated_at", "2015-02-20 18:31:47.723166"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.727235' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:31:47.740126"], ["updated_at", "2015-02-20 18:31:47.740126"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:47.742559"], ["updated_at", "2015-02-20 18:31:47.742559"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.744565' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:31:47.753743"], ["updated_at", "2015-02-20 18:31:47.753743"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:47.756438"], ["updated_at", "2015-02-20 18:31:47.756438"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.759135' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:31:47.763785"], ["updated_at", "2015-02-20 18:31:47.763785"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:31:47.766034' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.8ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (633.5ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.1ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (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.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:32:14.822408"], ["updated_at", "2015-02-20 18:32:14.822408"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:14.828444"], ["updated_at", "2015-02-20 18:32:14.828444"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.837677' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:14.849178"], ["updated_at", "2015-02-20 18:32:14.849178"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.852753' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:32:14.868815"], ["updated_at", "2015-02-20 18:32:14.868815"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:14.871461"], ["updated_at", "2015-02-20 18:32:14.871461"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.874971' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:32:14.888017"], ["updated_at", "2015-02-20 18:32:14.888017"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:14.890169"], ["updated_at", "2015-02-20 18:32:14.890169"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.893025' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:32:14.921980"], ["updated_at", "2015-02-20 18:32:14.921980"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:32:14.924360"], ["updated_at", "2015-02-20 18:32:14.924360"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.927447' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:32:14.941660"], ["updated_at", "2015-02-20 18:32:14.941660"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:32:14.944647"], ["updated_at", "2015-02-20 18:32:14.944647"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:14.948939' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.390198"], ["updated_at", "2015-02-20 18:32:15.390198"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.416916"], ["updated_at", "2015-02-20 18:32:15.416916"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.423509"], ["updated_at", "2015-02-20 18:32:15.423509"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.451500"], ["updated_at", "2015-02-20 18:32:15.451500"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.458763"], ["updated_at", "2015-02-20 18:32:15.458763"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.472747"], ["updated_at", "2015-02-20 18:32:15.472747"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.476098"], ["updated_at", "2015-02-20 18:32:15.476098"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.481765"], ["updated_at", "2015-02-20 18:32:15.481765"]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.503744"], ["updated_at", "2015-02-20 18:32:15.503744"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.510943"], ["updated_at", "2015-02-20 18:32:15.510943"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:15.517494"], ["updated_at", "2015-02-20 18:32:15.517494"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.5ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.7ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:45.610420"], ["updated_at", "2015-02-20 18:32:45.610420"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (2.1ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.101362"], ["updated_at", "2015-02-20 18:32:46.101362"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.109469"], ["updated_at", "2015-02-20 18:32:46.109469"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.115499"], ["updated_at", "2015-02-20 18:32:46.115499"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.118322"], ["updated_at", "2015-02-20 18:32:46.118322"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.124827"], ["updated_at", "2015-02-20 18:32:46.124827"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:32:46.176399"], ["updated_at", "2015-02-20 18:32:46.176399"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:32:46.178759"], ["updated_at", "2015-02-20 18:32:46.178759"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.183764' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (2.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:32:46.203668"], ["updated_at", "2015-02-20 18:32:46.203668"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:32:46.205715"], ["updated_at", "2015-02-20 18:32:46.205715"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.209064' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:32:46.235916"], ["updated_at", "2015-02-20 18:32:46.235916"]]
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:46.238488"], ["updated_at", "2015-02-20 18:32:46.238488"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.242304' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:32:46.254872"], ["updated_at", "2015-02-20 18:32:46.254872"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:46.256750"], ["updated_at", "2015-02-20 18:32:46.256750"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.258656' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:46.264591"], ["updated_at", "2015-02-20 18:32:46.264591"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.266787' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.8ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:32:46.279682"], ["updated_at", "2015-02-20 18:32:46.279682"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:32:46.281537"], ["updated_at", "2015-02-20 18:32:46.281537"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:32:46.283318' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.309822"], ["updated_at", "2015-02-20 18:32:46.309822"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.316260"], ["updated_at", "2015-02-20 18:32:46.316260"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.344994"], ["updated_at", "2015-02-20 18:32:46.344994"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.354039"], ["updated_at", "2015-02-20 18:32:46.354039"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:32:46.394673"], ["updated_at", "2015-02-20 18:32:46.394673"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.1ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.0ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.3ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.2ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 36ms (Views: 12.2ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.074584"], ["updated_at", "2015-02-20 18:33:09.074584"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.090844"], ["updated_at", "2015-02-20 18:33:09.090844"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.097891"], ["updated_at", "2015-02-20 18:33:09.097891"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.102858"], ["updated_at", "2015-02-20 18:33:09.102858"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.108254"], ["updated_at", "2015-02-20 18:33:09.108254"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.110627"], ["updated_at", "2015-02-20 18:33:09.110627"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.178659"], ["updated_at", "2015-02-20 18:33:09.178659"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.185212"], ["updated_at", "2015-02-20 18:33:09.185212"]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.214988"], ["updated_at", "2015-02-20 18:33:09.214988"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.220549"], ["updated_at", "2015-02-20 18:33:09.220549"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:09.245044"], ["updated_at", "2015-02-20 18:33:09.245044"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:33:09.270445"], ["updated_at", "2015-02-20 18:33:09.270445"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:09.272713"], ["updated_at", "2015-02-20 18:33:09.272713"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.277827' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:09.292037"], ["updated_at", "2015-02-20 18:33:09.292037"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:09.293963"], ["updated_at", "2015-02-20 18:33:09.293963"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.297321' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:09.326750"], ["updated_at", "2015-02-20 18:33:09.326750"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:09.328754"], ["updated_at", "2015-02-20 18:33:09.328754"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.330742' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:33:09.342970"], ["updated_at", "2015-02-20 18:33:09.342970"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:09.345027"], ["updated_at", "2015-02-20 18:33:09.345027"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.347368' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:33:09.359706"], ["updated_at", "2015-02-20 18:33:09.359706"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:09.361600"], ["updated_at", "2015-02-20 18:33:09.361600"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.363383' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:09.368765"], ["updated_at", "2015-02-20 18:33:09.368765"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:09.371854' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (1.4ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 37ms (Views: 11.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.486667"], ["updated_at", "2015-02-20 18:33:41.486667"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.502251"], ["updated_at", "2015-02-20 18:33:41.502251"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.509840"], ["updated_at", "2015-02-20 18:33:41.509840"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.514557"], ["updated_at", "2015-02-20 18:33:41.514557"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.519641"], ["updated_at", "2015-02-20 18:33:41.519641"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.522889"], ["updated_at", "2015-02-20 18:33:41.522889"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.575613"], ["updated_at", "2015-02-20 18:33:41.575613"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.581295"], ["updated_at", "2015-02-20 18:33:41.581295"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.626398"], ["updated_at", "2015-02-20 18:33:41.626398"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.631622"], ["updated_at", "2015-02-20 18:33:41.631622"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:41.657554"], ["updated_at", "2015-02-20 18:33:41.657554"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:33:41.686582"], ["updated_at", "2015-02-20 18:33:41.686582"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:41.688673"], ["updated_at", "2015-02-20 18:33:41.688673"]]
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.693911' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:41.709828"], ["updated_at", "2015-02-20 18:33:41.709828"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:41.711781"], ["updated_at", "2015-02-20 18:33:41.711781"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.714692' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.2ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:41.744649"], ["updated_at", "2015-02-20 18:33:41.744649"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:41.746573"], ["updated_at", "2015-02-20 18:33:41.746573"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.748510' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:33:41.758674"], ["updated_at", "2015-02-20 18:33:41.758674"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:41.760977"], ["updated_at", "2015-02-20 18:33:41.760977"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.763059' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:33:41.775757"], ["updated_at", "2015-02-20 18:33:41.775757"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:41.778671"], ["updated_at", "2015-02-20 18:33:41.778671"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.781838' WHERE "users"."id" = ?  [["id", 1]]
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:41.788527"], ["updated_at", "2015-02-20 18:33:41.788527"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:41.791972' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.2ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (32.9ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (629.2ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.3ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.7ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.1ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.9ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:48.881535"], ["updated_at", "2015-02-20 18:33:48.881535"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:48.942481"], ["updated_at", "2015-02-20 18:33:48.942481"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.381736"], ["updated_at", "2015-02-20 18:33:49.381736"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (1.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.385088"], ["updated_at", "2015-02-20 18:33:49.385088"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.391918"], ["updated_at", "2015-02-20 18:33:49.391918"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.397109"], ["updated_at", "2015-02-20 18:33:49.397109"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.6ms)
Completed 200 OK in 11ms (Views: 11.0ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:33:49.505662"], ["updated_at", "2015-02-20 18:33:49.505662"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:49.508130"], ["updated_at", "2015-02-20 18:33:49.508130"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.513335' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:49.528257"], ["updated_at", "2015-02-20 18:33:49.528257"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:33:49.530279"], ["updated_at", "2015-02-20 18:33:49.530279"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.532200' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.565207"], ["updated_at", "2015-02-20 18:33:49.565207"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.8ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.575197"], ["updated_at", "2015-02-20 18:33:49.575197"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (10.3ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.629114"], ["updated_at", "2015-02-20 18:33:49.629114"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.658534"], ["updated_at", "2015-02-20 18:33:49.658534"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:33:49.664244"], ["updated_at", "2015-02-20 18:33:49.664244"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:33:49.684431"], ["updated_at", "2015-02-20 18:33:49.684431"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:49.688225"], ["updated_at", "2015-02-20 18:33:49.688225"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.691254' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:33:49.704313"], ["updated_at", "2015-02-20 18:33:49.704313"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:49.706428"], ["updated_at", "2015-02-20 18:33:49.706428"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.708541' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:33:49.716898"], ["updated_at", "2015-02-20 18:33:49.716898"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:49.719564"], ["updated_at", "2015-02-20 18:33:49.719564"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.721756' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:33:49.727216"], ["updated_at", "2015-02-20 18:33:49.727216"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:33:49.729383' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (99.3ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (635.3ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.9ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.2ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (1.0ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.2ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.2ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.8ms)
Completed 200 OK in 35ms (Views: 12.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.040655"], ["updated_at", "2015-02-20 18:35:20.040655"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.056847"], ["updated_at", "2015-02-20 18:35:20.056847"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.064095"], ["updated_at", "2015-02-20 18:35:20.064095"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.071065"], ["updated_at", "2015-02-20 18:35:20.071065"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.074893"], ["updated_at", "2015-02-20 18:35:20.074893"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.083358"], ["updated_at", "2015-02-20 18:35:20.083358"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.134884"], ["updated_at", "2015-02-20 18:35:20.134884"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.140184"], ["updated_at", "2015-02-20 18:35:20.140184"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12347 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.188029"], ["updated_at", "2015-02-20 18:35:20.188029"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.195931"], ["updated_at", "2015-02-20 18:35:20.195931"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:20.224268"], ["updated_at", "2015-02-20 18:35:20.224268"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:35:20.251637"], ["updated_at", "2015-02-20 18:35:20.251637"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:20.254149"], ["updated_at", "2015-02-20 18:35:20.254149"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.259462' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:20.273097"], ["updated_at", "2015-02-20 18:35:20.273097"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "123410 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:20.274846"], ["updated_at", "2015-02-20 18:35:20.274846"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.276801' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  UPDATE "addresses" SET "address1" = ?, "updated_at" = ? WHERE "addresses"."id" = ?  [["address1", "123411 Fake Street"], ["updated_at", "2015-02-20 18:35:20.293371"], ["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.295513' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:20.308152"], ["updated_at", "2015-02-20 18:35:20.308152"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:20.310959"], ["updated_at", "2015-02-20 18:35:20.310959"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.313512' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:35:20.323151"], ["updated_at", "2015-02-20 18:35:20.323151"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:20.324933"], ["updated_at", "2015-02-20 18:35:20.324933"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.326751' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_4@effective_addresses.test"], ["first_name", "First Name 4"], ["last_name", "Last Name 4"], ["created_at", "2015-02-20 18:35:20.339389"], ["updated_at", "2015-02-20 18:35:20.339389"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:20.341272"], ["updated_at", "2015-02-20 18:35:20.341272"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.343264' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:20.348163"], ["updated_at", "2015-02-20 18:35:20.348163"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:20.351354' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (3.2ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.1ms)  select sqlite_version(*)
   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.1ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (0.8ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.0ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (1.0ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
   (0.1ms)  SELECT version FROM "schema_migrations"
   (0.8ms)  INSERT INTO "schema_migrations" (version) VALUES ('4')
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:42.928689"], ["updated_at", "2015-02-20 18:35:42.928689"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:42.988725"], ["updated_at", "2015-02-20 18:35:42.988725"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (1.9ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.446749"], ["updated_at", "2015-02-20 18:35:43.446749"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (1.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.449741"], ["updated_at", "2015-02-20 18:35:43.449741"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.457082"], ["updated_at", "2015-02-20 18:35:43.457082"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.0ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.461782"], ["updated_at", "2015-02-20 18:35:43.461782"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:35:43.515805"], ["updated_at", "2015-02-20 18:35:43.515805"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:43.517727"], ["updated_at", "2015-02-20 18:35:43.517727"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.525153' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  UPDATE "addresses" SET "address1" = ?, "updated_at" = ? WHERE "addresses"."id" = ?  [["address1", "12347 Fake Street"], ["updated_at", "2015-02-20 18:35:43.534892"], ["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.536887' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (2.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:43.553107"], ["updated_at", "2015-02-20 18:35:43.553107"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:43.554863"], ["updated_at", "2015-02-20 18:35:43.554863"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.556915' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:35:43.582771"], ["updated_at", "2015-02-20 18:35:43.582771"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:43.584733"], ["updated_at", "2015-02-20 18:35:43.584733"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.586643' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:43.598212"], ["updated_at", "2015-02-20 18:35:43.598212"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:43.599949"], ["updated_at", "2015-02-20 18:35:43.599949"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.601737' WHERE "users"."id" = ?  [["id", 1]]
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:43.606241"], ["updated_at", "2015-02-20 18:35:43.606241"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.610123' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.0ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.1ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:35:43.621949"], ["updated_at", "2015-02-20 18:35:43.621949"]]
  SQL (0.1ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:43.623681"], ["updated_at", "2015-02-20 18:35:43.623681"]]
  User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:43.625490' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.649184"], ["updated_at", "2015-02-20 18:35:43.649184"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.2ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.656553"], ["updated_at", "2015-02-20 18:35:43.656553"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.683858"], ["updated_at", "2015-02-20 18:35:43.683858"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.691467"], ["updated_at", "2015-02-20 18:35:43.691467"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.8ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:43.734675"], ["updated_at", "2015-02-20 18:35:43.734675"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.3ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
  ActiveRecord::SchemaMigration Load (0.2ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (98.6ms)  CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "addressable_type" varchar, "addressable_id" integer, "category" varchar(64), "full_name" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state_code" varchar, "country_code" varchar, "postal_code" varchar, "updated_at" datetime, "created_at" datetime) 
   (0.2ms)  select sqlite_version(*)
   (628.8ms)  CREATE  INDEX "index_addresses_on_addressable_id" ON "addresses" ("addressable_id")
   (0.2ms)              SELECT sql
            FROM sqlite_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'
            UNION ALL
            SELECT sql
            FROM sqlite_temp_master
            WHERE name='index_addresses_on_addressable_id' AND type='index'

   (1.3ms)  CREATE  INDEX "index_addresses_on_addressable_type_and_addressable_id" ON "addresses" ("addressable_type", "addressable_id")
   (1.6ms)  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "encrypted_password" varchar, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "confirmation_sent_at" datetime, "confirmed_at" datetime, "confirmation_token" varchar, "unconfirmed_email" varchar, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "roles_mask" integer DEFAULT 0, "archived" boolean DEFAULT 'f', "updated_at" datetime, "created_at" datetime) 
   (0.8ms)  CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
   (0.9ms)  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 ('4')
  ActiveRecord::SchemaMigration Load (0.1ms)  SELECT "schema_migrations".* FROM "schema_migrations"
   (0.1ms)  begin transaction
   (0.3ms)  SAVEPOINT active_record_1
  SQL (0.7ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.240107"], ["updated_at", "2015-02-20 18:35:57.240107"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.299625"], ["updated_at", "2015-02-20 18:35:57.299625"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12343 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.802369"], ["updated_at", "2015-02-20 18:35:57.802369"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.4ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.810546"], ["updated_at", "2015-02-20 18:35:57.810546"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.6ms)  SAVEPOINT active_record_1
  SQL (1.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12344 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.814916"], ["updated_at", "2015-02-20 18:35:57.814916"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12345 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:57.822969"], ["updated_at", "2015-02-20 18:35:57.822969"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:35:57.880385"], ["updated_at", "2015-02-20 18:35:57.880385"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12346 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:57.882485"], ["updated_at", "2015-02-20 18:35:57.882485"]]
  User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.888273' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  UPDATE "addresses" SET "address1" = ?, "updated_at" = ? WHERE "addresses"."id" = ?  [["address1", "12347 Fake Street"], ["updated_at", "2015-02-20 18:35:57.900549"], ["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.902768' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithSingularAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (1.0ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:57.916540"], ["updated_at", "2015-02-20 18:35:57.916540"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("addressable_type", "category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["addressable_type", "User"], ["category", "billing"], ["address1", "12348 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["created_at", "2015-02-20 18:35:57.919198"], ["updated_at", "2015-02-20 18:35:57.919198"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.921816' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.5ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_1@effective_addresses.test"], ["first_name", "First Name 1"], ["last_name", "Last Name 1"], ["created_at", "2015-02-20 18:35:57.950582"], ["updated_at", "2015-02-20 18:35:57.950582"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "12349 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:57.952836"], ["updated_at", "2015-02-20 18:35:57.952836"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.955231' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_2@effective_addresses.test"], ["first_name", "First Name 2"], ["last_name", "Last Name 2"], ["created_at", "2015-02-20 18:35:57.970859"], ["updated_at", "2015-02-20 18:35:57.970859"]]
  SQL (0.3ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123411 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:57.973047"], ["updated_at", "2015-02-20 18:35:57.973047"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.976179' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123412 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:57.981882"], ["updated_at", "2015-02-20 18:35:57.981882"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.2ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:57.984249' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
   (0.0ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
  UserWithAddress Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  Effective::Address Load (0.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ?  ORDER BY "addresses"."updated_at" ASC  [["addressable_id", 1], ["addressable_type", "User"]]
   (0.8ms)  rollback transaction
   (0.2ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.3ms)  INSERT INTO "users" ("email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  [["email", "user_3@effective_addresses.test"], ["first_name", "First Name 3"], ["last_name", "Last Name 3"], ["created_at", "2015-02-20 18:35:57.997331"], ["updated_at", "2015-02-20 18:35:57.997331"]]
  SQL (0.2ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123413 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["addressable_id", 1], ["addressable_type", "User"], ["created_at", "2015-02-20 18:35:57.999452"], ["updated_at", "2015-02-20 18:35:57.999452"]]
  User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1  [["id", 1]]
  SQL (0.1ms)  UPDATE "users" SET "updated_at" = '2015-02-20 18:35:58.001844' WHERE "users"."id" = ?  [["id", 1]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SELECT COUNT(*) FROM "addresses"
   (0.6ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123414 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:58.026531"], ["updated_at", "2015-02-20 18:35:58.026531"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12341 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:58.034165"], ["updated_at", "2015-02-20 18:35:58.034165"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.4ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123415 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:58.066037"], ["updated_at", "2015-02-20 18:35:58.066037"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.5ms)  INSERT INTO "addresses" ("category", "full_name", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["full_name", "Peter Pan"], ["address1", "12342 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:58.074596"], ["updated_at", "2015-02-20 18:35:58.074596"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.7ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  SAVEPOINT active_record_1
  SQL (0.6ms)  INSERT INTO "addresses" ("category", "address1", "city", "state_code", "country_code", "postal_code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)  [["category", "billing"], ["address1", "123416 Fake Street"], ["city", "San Antonio"], ["state_code", "TX"], ["country_code", "US"], ["postal_code", "92387"], ["created_at", "2015-02-20 18:35:58.119098"], ["updated_at", "2015-02-20 18:35:58.119098"]]
   (0.1ms)  RELEASE SAVEPOINT active_record_1
   (0.4ms)  rollback transaction
   (0.1ms)  begin transaction
   (0.1ms)  rollback transaction
   (0.0ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"US"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.4ms)
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
   (0.2ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"NOPE"}
  Rendered text template (0.0ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"SG"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.5ms)
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction
   (0.1ms)  begin transaction
Processing by Effective::AddressesController#subregions as HTML
  Parameters: {"country_code"=>"CA"}
  Rendered /Users/matt/Sites/effective_addresses/app/views/effective/addresses/_subregions.html.haml (0.2ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
   (0.1ms)  rollback transaction